From 42239d39904e3dfccfcc567e0ae0a4cc6af98cb9 Mon Sep 17 00:00:00 2001 From: PQZ Date: Fri, 27 Sep 2024 17:46:41 +0800 Subject: [PATCH] 1 --- .../yudao/module/app/customer/admin/CustomerMainApi.java | 7 ++++--- .../java/cn/iocoder/yudao/module/app/apy/RepairPayApi.java | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dl-module-base/src/main/java/cn/iocoder/yudao/module/app/customer/admin/CustomerMainApi.java b/dl-module-base/src/main/java/cn/iocoder/yudao/module/app/customer/admin/CustomerMainApi.java index fe578390..8b82d429 100644 --- a/dl-module-base/src/main/java/cn/iocoder/yudao/module/app/customer/admin/CustomerMainApi.java +++ b/dl-module-base/src/main/java/cn/iocoder/yudao/module/app/customer/admin/CustomerMainApi.java @@ -16,6 +16,7 @@ import cn.iocoder.yudao.module.member.service.MemberLevelService; import cn.iocoder.yudao.module.member.vo.ActiveMainPageReqVO; import cn.iocoder.yudao.module.member.vo.ActiveMainRespVO; import cn.iocoder.yudao.module.member.vo.MemberLevelPageReqVO; +import cn.iocoder.yudao.module.order.entity.RepairOrderInfo; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; @@ -88,9 +89,9 @@ public class CustomerMainApi { **/ @PostMapping("/attendActive") @Operation(summary = "参加活动") - public CommonResult attendActive(@RequestBody CustomerActiveSaveReqVO createReqVO) { - activeService.attendActive(createReqVO); - return success(true); + public CommonResult attendActive(@RequestBody CustomerActiveSaveReqVO createReqVO) { + RepairOrderInfo orderInfo = activeService.attendActive(createReqVO); + return success(orderInfo); } diff --git a/dl-module-repair/src/main/java/cn/iocoder/yudao/module/app/apy/RepairPayApi.java b/dl-module-repair/src/main/java/cn/iocoder/yudao/module/app/apy/RepairPayApi.java index ca280176..81d72e65 100644 --- a/dl-module-repair/src/main/java/cn/iocoder/yudao/module/app/apy/RepairPayApi.java +++ b/dl-module-repair/src/main/java/cn/iocoder/yudao/module/app/apy/RepairPayApi.java @@ -21,7 +21,7 @@ import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success; @Tag(name = "管理后台 - 维修模块 支付模块") @RestController -@RequestMapping("/userClient/pay") +@RequestMapping("/userClient/pay/toPay") @Validated public class RepairPayApi { @Resource