xiaoyong931011
2022-09-16 67bc217ccb7a845ad3633b699ed7c7aa518941df
src/main/java/cc/mrbird/febs/mall/controller/ApiMallTeamLeaderController.java
@@ -35,16 +35,29 @@
        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 new FebsResponse().success().data(iApiMallTeamLeaderService.findLeaderListInPage(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);
    }
    /**
@@ -136,5 +149,17 @@
        return iApiMallTeamLeaderService.leaderProfit();
    }
    /**
     * 团长查看已提成收益
     */
    @ApiOperation(value = "团长查看已提成收益", notes = "团长查看已提成收益")
    @ApiResponses({
            @ApiResponse(code = 200, message = "success", response = ApiOrderProfitVo.class)
    })
    @PostMapping(value = "/leaderProfitList")
    public FebsResponse leaderProfitList(@RequestBody ApiOrderProfitDto apiOrderProfitDto) {
        return new FebsResponse().success().data(iApiMallTeamLeaderService.findLeaderProfitListInPage(apiOrderProfitDto));
    }
}