From f6ca44fd34e71b9d5ae9a52ac6b7781a13b8ed7b Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 14 Feb 2023 11:00:57 +0800
Subject: [PATCH] 安保管理地图选点
---
src/api/security/security.js | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/src/api/security/security.js b/src/api/security/security.js
index 7e6cbf7..44d9025 100644
--- a/src/api/security/security.js
+++ b/src/api/security/security.js
@@ -67,3 +67,45 @@
})
}
+//http://192.168.0.112:18080/sf3d/area/getAoiByPt?lng=117.9471794&lat=28.4474852&height=0&tolerance=10&adcode=361102
+export const getAoiByPt = (row) =>{
+ return request({
+ url:'http://192.168.0.112:18080/sf3d/area/getAoiByPt',
+ method:'get',
+ data:row
+ })
+}
+
+//192.168.0.112:9091/zhs/bs/search?ak=ebf48ecaa1fd436fa3d40c4600aa051f®ion=361100&query=公安局&ids=61743e28bbf11700e9fc4ef03dd8bea9
+export const searchByQuery = (ak, region, query, ids) => {
+ return request({
+ url: '/bsapi/zhs/bs/search',
+ method: 'get',
+ params: {
+ ak,
+ region,
+ query,
+ ids
+ }
+ })
+}
+
+//http://{IP}:{PORT}/zhs/bs/search?ak=***&query= 万 达 商 场
+// ®ion=440300®ion_type=circle&page_size=3&page_num=1&infos=1&radius=500&location=113.841901,22.628249
+export const searchByLonLat = (ak, query,region,region_type,page_size,page_num,infos,radius,location) => {
+ return request({
+ url: '/bsapi/zhs/bs/search',
+ method: 'get',
+ params: {
+ ak,
+ query,
+ region,
+ region_type,
+ page_size,
+ page_num,
+ infos,
+ radius,
+ location
+ }
+ })
+}
--
Gitblit v1.9.3