|
|
@@ -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));
|
|
|
}
|
|
|
|