linhw 2024-04-29 13:23:53 +08:00
parent 28a5f5375a
commit 070070ea0c
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class PayController extends BaseController
@RequestMapping("/userExchangeCode")
@ApiOperation(value = "兑换码支付", notes = "兑换码支付", httpMethod = "POST")
public AjaxResult useExchange(UseExchangeArg useExchangeArg) throws ParseException {
public AjaxResult useExchange(@RequestBody UseExchangeArg useExchangeArg) throws ParseException {
String code = useExchangeArg.getCode();
Long userId = useExchangeArg.getUserId();
AppExchangeCode appExchangeCode = appExchangeCodeMapper.selectAppExchangeCodeByCode(code);