From b722537de03af08b60ad269d67bd57ccb5e4d22c Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 10 Feb 2025 11:41:50 +0800 Subject: [PATCH] feat(pay): 添加 FIUU充值功能并优化支付流程 - 新增 FIUU 充值接口和相关请求模型 - 更新 FIUU 支付流程,支持订单和充值操作 - 优化 FIUU 回调处理,增加对充值订单的支持 - 调整订单状态更新逻辑,确保支付成功后正确更新 --- src/main/java/cc/mrbird/febs/mall/controller/ApiMallTeamLeaderController.java | 30 +++++++++++++++++++++++++++++- 1 files changed, 29 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..fdee968 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); } @@ -121,6 +134,21 @@ return iApiMallTeamLeaderService.leaderTitle(apiLeaderTitleDto); } + /** + * 商品列表页的团长信息 + * 有团长特征码直接显示该团长, + * 有经纬度,按照经纬度选择距离最近的 + * 没有选择团长列表的第一个 + */ + @ApiOperation(value = "商品列表页的团长信息", notes = "商品列表页的团长信息") + @ApiResponses({ + @ApiResponse(code = 200, message = "success", response = ApiLeaderInfoVo.class) + }) + @PostMapping("/noLoginLeaderTitle") + public FebsResponse noLoginLeaderTitle(@RequestBody ApiLeaderTitleDto apiLeaderTitleDto) { + return iApiMallTeamLeaderService.noLoginLeaderTitle(apiLeaderTitleDto); + } + @ApiOperation(value = "获取团长订单角标数量") @GetMapping(value = "/findTeamOrderMarkCnt") public FebsResponse findTeamOrderMarkCnt() { -- Gitblit v1.9.1