This commit is contained in:
2023-08-01 14:07:41 +08:00
parent 6b067a5cf5
commit 24557e62ff
2 changed files with 9 additions and 8 deletions

View File

@@ -155,12 +155,13 @@ public class AdapayMemberController extends BaseController {
/**
* 提现接口
* http://localhost:8080/adapay/member/drawCash
*/
@PostMapping("/withdraw")
public AjaxResult withdraw(@RequestBody WithdrawDTO dto) {
@PostMapping("/drawCash")
public AjaxResult drawCash(@RequestBody WithdrawDTO dto) {
AjaxResult result;
try {
adapayMemberService.withdraw(dto);
adapayMemberService.drawCash(dto);
result = AjaxResult.success();
} catch (BaseAdaPayException e) {
logger.error("提现接口 error", e);