helixiao 2 tahun lalu
induk
melakukan
8b76d9a91f

+ 2 - 1
src/main/java/com/ydtech/modules/admin/controller/SysPcAddressController.java

@@ -15,6 +15,7 @@ import com.ydtech.modules.base.controller.BaseController;
 import com.ydtech.modules.order.entity.BasePageResult;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
 import lombok.RequiredArgsConstructor;
 import org.springframework.web.bind.annotation.*;
 
@@ -81,7 +82,7 @@ public class SysPcAddressController extends BaseController{
 
     @GetMapping("/queryRegionInfo/{type}")
     @ApiOperation(value = "区域人员概览")
-    public HttpResult<List<RegionInfoVo>> queryRegionInfo(@PathVariable("type") Integer type) {
+    public HttpResult<List<RegionInfoVo>> queryRegionInfo(@PathVariable("type") @ApiParam("全部:0   渠道:1 代理:2") Integer type) {
         return HttpResult.ok("success", this.sysPcAddressService.queryRegionInfo(type));
     }
 

+ 2 - 1
src/main/java/com/ydtech/modules/admin/controller/websocket/SysGeographyPositionController.java

@@ -12,6 +12,7 @@ import com.ydtech.modules.admin.service.SysGeographyPositionService;
 import com.ydtech.modules.order.entity.BasePageResult;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
 import org.springframework.web.bind.annotation.*;
 
 import javax.annotation.Resource;
@@ -52,7 +53,7 @@ public class SysGeographyPositionController {
 
     @GetMapping("/queryRegionInfo/{type}")
     @ApiOperation(value = "区域人员概览")
-    public HttpResult<List<RegionInfoVo>> queryRegionInfo(@PathVariable("type") Integer type) {
+    public HttpResult<List<RegionInfoVo>> queryRegionInfo(@PathVariable("type") @ApiParam("全部:0   渠道:1 代理:2")  Integer type) {
         return HttpResult.ok("success", this.sysGeographyPositionService.queryRegionInfo(type));
     }
 

+ 1 - 1
src/main/java/com/ydtech/modules/admin/model/dto/IpInfoDto.java

@@ -25,7 +25,7 @@ public class IpInfoDto {
     /**
      * 经度
      */
-    @TableField(value = "longitude")
+    @ApiModelProperty("经度")
     private String lng;
 
     /**

+ 1 - 1
src/main/java/com/ydtech/modules/admin/model/dto/SysGeographyPositionDto.java

@@ -19,7 +19,7 @@ public class SysGeographyPositionDto {
     @ApiModelProperty("区")
     private String district;
 
-    @ApiModelProperty(value = "机构来源")
+    @ApiModelProperty(value = "机构来源 全部:null 渠道:1 代理:2")
     private String source;
 
 }

+ 1 - 1
src/main/java/com/ydtech/modules/admin/model/dto/SysPcAddressDto.java

@@ -19,6 +19,6 @@ public class SysPcAddressDto {
     @ApiModelProperty("区")
     private String district;
 
-    @ApiModelProperty(value = "机构来源")
+    @ApiModelProperty(value = "机构来源 全部:null 渠道:1 代理:2")
     private String source;
 }