Prechádzať zdrojové kódy

edit:
街道概况-查询社区各类标签的使用详情, 客户api路径改了

wuweihao 4 rokov pred
rodič
commit
f59986e7eb

+ 16 - 2
gis_web/src/main/java/com/gis/web/controller/ScreenController.java

@@ -30,6 +30,19 @@ public class ScreenController  {
     ResultUtils resultUtils;
 
     /**
+     * 2021-04-27
+     * 新增接口
+     */
+    @ApiOperation("积分商城-积分发放统计,code:510124112")
+    @GetMapping("pointCountByCode/{code}")
+    public Result pointCountByCode(@PathVariable String code) {
+        String apiUrl = "/open/api/v1/community/pointCountByCode";
+        HashMap<String, Object> param = new HashMap<>();
+        param.put("areaCode", code);
+        return resultUtils.doGetResult(apiUrl, param);
+    }
+
+    /**
      * 2021-04-21
      * 新增接口
      */
@@ -78,10 +91,11 @@ public class ScreenController  {
             @ApiImplicitParam(name = "labelType", value = "标签类型, residential:小区, house:房屋,proprietor:人员  ", dataType = "String")
     })
     @ApiOperationSupport(order=1)
-    @ApiOperation("街道概况-查询社区各类标签的使用详情")
+    @ApiOperation(value = "街道概况-查询社区各类标签的使用详情", notes = "code:510108016099, labelType:proprietor")
     @GetMapping("labelUsed/{code}/{labelType}")
     public JSONObject labelUsed(@PathVariable String code, @PathVariable String labelType) {
-        String apiUrl = "/open/api/v1/community/label-used";
+//        String apiUrl = "/open/api/v1/community/label-used";
+        String apiUrl = "/open/api/v1/community/dy/label-used";
         HashMap<String, Object> param = new HashMap<>();
         param.put("code", code);
         param.put("labelType", labelType);