From 8cb1cdbee874842af44683dea8b0f0ff8087d0ea Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期四, 12 十月 2023 21:54:36 +0800
Subject: [PATCH] 更新

---
 src/api/api.js |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/src/api/api.js b/src/api/api.js
index 1c37435..e5c47cb 100644
--- a/src/api/api.js
+++ b/src/api/api.js
@@ -11,17 +11,16 @@
 //鍥尯鍦板潃搴撴煡璇�
 export function liushisijiayuanqudizhibianmafuwu(params) {
     return request.get(
-        //  "/gisserver/rest/services/Locators/liushisijiayuanqudizhibianmafuwu/GeocodeServer/findAddressCandidates?singleLine=" + params
-        // '/gisserver/wfsserver/liushisijiayuanqu1005?version=1.3.0&request=GetFeature&typename=64jiayuanqujibenqingkuang&propertyname=*&filter=%3CFilter%3E%3CPropertyIsLike+wildCard%3D%22*%22%3E%3CPropertyName%3EYQmingchen%3C%2FPropertyName%3E%3CLiteral%3E*%E6%B0%B8%E6%98%8C*%3C%2FLiteral%3E%3C%2FPropertyIsLike%3E%3C%2FFilter%3E&format=json'
-        'gisserver/wfsserver/liushisijiayuanqu1005?version=1.3.0&request=GetFeature&typename=64jiayuanqujibenqingkuang&propertyname=*&filter=<Filter><PropertyIsLike+wildCard%3D"*"><PropertyName>YQmingchen<%2FPropertyName><Literal>*' + params + '*<%2FLiteral><%2FPropertyIsLike><%2FFilter>&format=json'
+        'gisserver/wfsserver/liushisijiayuanqu1012?version=1.3.0&request=GetFeature&typename=64瀹跺洯鍖哄熀鏈儏鍐佃寖鍥碿oordinates10092&propertyname=*&filter=<Filter><PropertyIsLike+wildCard%3D"*"><PropertyName>YQmingchen<%2FPropertyName><Literal>*' + params + '*<%2FLiteral><%2FPropertyIsLike><%2FFilter>&format=json'
     );
 }
-//鐢熺墿鍖昏嵂鏌ヨ
-export function shengwuSearch() {
+//鍥尯绫诲瀷鏌ヨ
+export function shengwuSearch(params) {
     return request.get(
-        'gisserver/wfsserver/liushisijiayuanqu1005?version=1.3.0&request=GetFeature&typename=64jiayuanqujibenqingkuang&propertyname=*&filter=<Filter><PropertyIsLike+wildCard%3D"*"><PropertyName>chanyeDW<%2FPropertyName><Literal>*鐢熺墿鍖昏嵂*<%2FLiteral><%2FPropertyIsLike><%2FFilter>&format=json'
+        'gisserver/wfsserver/liushisijiayuanqu1012?version=1.3.0&request=GetFeature&typename=64瀹跺洯鍖哄熀鏈儏鍐佃寖鍥碿oordinates10092&propertyname=*&filter=<Filter><PropertyIsLike+wildCard%3D"*"><PropertyName>chanyeDW<%2FPropertyName><Literal>*' + params + '*<%2FLiteral><%2FPropertyIsLike><%2FFilter>&format=json'
     );
 }
+
 // 鍦板潡鏌ヨ
 export function findAddressCandidates(params) {
     return request.get(
@@ -38,10 +37,5 @@
         "&lat=" +
         lat +
         "&geom=true&requesttype=json"
-    );
-}
-export function shengwuSearch() {
-    return request.get(
-        'gisserver/wfsserver/liushisijiayuanqu1005?version=1.3.0&request=GetFeature&typename=64jiayuanqujibenqingkuang&propertyname=*&filter=<Filter><PropertyIsLike+wildCard%3D"*"><PropertyName>chanyeDW<%2FPropertyName><Literal>*鐢熺墿鍖昏嵂*<%2FLiteral><%2FPropertyIsLike><%2FFilter>&format=json'
     );
 }
\ No newline at end of file

--
Gitblit v1.9.3