Browse Source

省份区域查询

hexiao 1 year ago
parent
commit
e9c0b896eb

+ 3 - 0
application-webadmin/src/main/java/com/ankaibei/workFlow/webadmin/api/AreaApiService.java

@@ -14,16 +14,19 @@ public class AreaApiService implements AreaApi {
 
 
     @Override
+    @RequestMapping("/getInfoLikeKeywordsAndSubdistrict")
     public List<AreaInfo> getInfoLikeKeywordsAndSubdistrict(String keywords, Integer subdistrict) {
         return GaoDeWebUtil.getInfoLikeKeywordsAndSubdistrict(keywords, subdistrict);
     }
 
     @Override
+    @RequestMapping("/getProvinces")
     public List<AreaInfo> getProvinces() {
         return GaoDeWebUtil.getProvinces();
     }
 
     @Override
+    @RequestMapping("/getCity")
     public List<AreaInfo> getCity(String keywords) {
         return GaoDeWebUtil.getCity(keywords);
     }