From 67bc217ccb7a845ad3633b699ed7c7aa518941df Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 16 Sep 2022 17:16:43 +0800 Subject: [PATCH] 20220902 --- src/main/java/cc/mrbird/febs/mall/controller/ApiMallTeamLeaderController.java | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/controller/ApiMallTeamLeaderController.java b/src/main/java/cc/mrbird/febs/mall/controller/ApiMallTeamLeaderController.java index 70544d8..3354f45 100644 --- a/src/main/java/cc/mrbird/febs/mall/controller/ApiMallTeamLeaderController.java +++ b/src/main/java/cc/mrbird/febs/mall/controller/ApiMallTeamLeaderController.java @@ -35,15 +35,28 @@ return iApiMallTeamLeaderService.applyLeader(apiApplayLeaderDto); } + /** * 团长列表 */ - @ApiOperation(value = "团长列表", notes = "团长列表") + @ApiOperation(value = "团长列表(查询当前位置商品配送范围内的所有团长)", notes = "团长列表(查询当前位置商品配送范围内的所有团长)") @ApiResponses({ @ApiResponse(code = 200, message = "success", response = ApiLeaderListVo.class) }) @PostMapping(value = "/leaderList") public FebsResponse leaderList(@RequestBody @Valid ApiLeaderListDto apiLeaderListDto) { + return iApiMallTeamLeaderService.findSomeLeaderListInPage(apiLeaderListDto); + } + + /** + * 团长列表 + */ + @ApiOperation(value = "团长列表(查询当前经纬度在团长配送范围内的团长)", notes = "团长列表(查询当前经纬度在团长配送范围内的团长)") + @ApiResponses({ + @ApiResponse(code = 200, message = "success", response = ApiLeaderListVo.class) + }) + @PostMapping(value = "/leaderListInFence") + public FebsResponse leaderListInFence(@RequestBody @Valid ApiLeaderListDto apiLeaderListDto) { return iApiMallTeamLeaderService.findLeaderListInPage(apiLeaderListDto); } -- Gitblit v1.9.1