main
parent
28a5f5375a
commit
070070ea0c
|
|
@ -164,7 +164,7 @@ public class PayController extends BaseController
|
||||||
|
|
||||||
@RequestMapping("/userExchangeCode")
|
@RequestMapping("/userExchangeCode")
|
||||||
@ApiOperation(value = "兑换码支付", notes = "兑换码支付", httpMethod = "POST")
|
@ApiOperation(value = "兑换码支付", notes = "兑换码支付", httpMethod = "POST")
|
||||||
public AjaxResult useExchange(UseExchangeArg useExchangeArg) throws ParseException {
|
public AjaxResult useExchange(@RequestBody UseExchangeArg useExchangeArg) throws ParseException {
|
||||||
String code = useExchangeArg.getCode();
|
String code = useExchangeArg.getCode();
|
||||||
Long userId = useExchangeArg.getUserId();
|
Long userId = useExchangeArg.getUserId();
|
||||||
AppExchangeCode appExchangeCode = appExchangeCodeMapper.selectAppExchangeCodeByCode(code);
|
AppExchangeCode appExchangeCode = appExchangeCodeMapper.selectAppExchangeCodeByCode(code);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue