refactor(mcwl-pay): 支付宝转账
parent
47717bae9c
commit
e09584800a
|
@ -266,6 +266,14 @@ public class AliPayServiceImpl implements AliPayService {
|
|||
AlipayFundTransUniTransferResponse response = alipayClient.certificateExecute(request);
|
||||
System.out.println(response.getBody());
|
||||
|
||||
if (response.getCode().equals("40004")) {
|
||||
|
||||
// TODO 余额不足,发送邮件提现
|
||||
|
||||
return AjaxResult.error("系统繁忙,请稍后重试");
|
||||
}
|
||||
|
||||
|
||||
if (response.isSuccess()) {
|
||||
System.out.println("调用成功");
|
||||
BigDecimal wallet = new BigDecimal(sysUser.getWallet().toString());
|
||||
|
|
Loading…
Reference in New Issue