mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user