打开兑换奖品接口
This commit is contained in:
@@ -44,9 +44,8 @@ public class AppUserPrizeExchangeController {
|
|||||||
@PostMapping("/exchange")
|
@PostMapping("/exchange")
|
||||||
@ApiOperation("兑换")
|
@ApiOperation("兑换")
|
||||||
public Result exchange(@RequestAttribute("userId") Long userId, @RequestBody UserPrizeExchange entity) {
|
public Result exchange(@RequestAttribute("userId") Long userId, @RequestBody UserPrizeExchange entity) {
|
||||||
//userPrizeExchangeService.exchange(userId, entity);
|
userPrizeExchangeService.exchange(userId, entity);
|
||||||
//return Result.success();
|
return Result.success();
|
||||||
return Result.error("奖品正在路上,请耐心等待");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Login
|
@Login
|
||||||
|
|||||||
Reference in New Issue
Block a user