From b2b21a2ac5175b1086ae6f7eefdb242c12c5310c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=AD=E5=87=AF=E5=87=AF?= Date: Tue, 14 Jan 2025 13:37:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80=E5=85=91=E6=8D=A2=E5=A5=96?= =?UTF-8?q?=E5=93=81=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/controller/AppUserPrizeExchangeController.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sqx/modules/app/controller/AppUserPrizeExchangeController.java b/src/main/java/com/sqx/modules/app/controller/AppUserPrizeExchangeController.java index 4b44a3fb..82ff4e6a 100644 --- a/src/main/java/com/sqx/modules/app/controller/AppUserPrizeExchangeController.java +++ b/src/main/java/com/sqx/modules/app/controller/AppUserPrizeExchangeController.java @@ -44,9 +44,8 @@ public class AppUserPrizeExchangeController { @PostMapping("/exchange") @ApiOperation("兑换") public Result exchange(@RequestAttribute("userId") Long userId, @RequestBody UserPrizeExchange entity) { - //userPrizeExchangeService.exchange(userId, entity); - //return Result.success(); - return Result.error("奖品正在路上,请耐心等待"); + userPrizeExchangeService.exchange(userId, entity); + return Result.success(); } @Login