|
|
@@ -70,9 +70,10 @@ public class WithdrawController extends BaseController {
|
|
|
|
|
|
@PostMapping("/apply")
|
|
|
@ApiOperation("提现申请")
|
|
|
- public Withdraw apply(BigDecimal amount, PayMethod payMethod, String realName, String account) {
|
|
|
- return withdrawService.apply(SecurityUtils.getAuthenticatedUser()
|
|
|
- .getId(), amount, payMethod, realName, account);
|
|
|
+ public Withdraw apply(@RequestParam BigDecimal amount, @RequestParam PayMethod payMethod,
|
|
|
+ @RequestParam String realName, @RequestParam String account) {
|
|
|
+ return withdrawService.apply(SecurityUtils.getAuthenticatedUser().getId(),
|
|
|
+ amount, payMethod, realName, account);
|
|
|
}
|
|
|
|
|
|
@PostMapping("/audit")
|