打开兑换奖品接口

This commit is contained in:
谭凯凯
2025-01-14 13:37:40 +08:00
committed by Tankaikai
parent 22183c1742
commit b2b21a2ac5

View File

@@ -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