提现问题

This commit is contained in:
wangw 2024-12-19 13:31:48 +08:00
parent 764dcb72ad
commit 893a37c752
2 changed files with 9 additions and 5 deletions

View File

@ -127,6 +127,9 @@ public class DiscSpinningServiceImpl extends ServiceImpl<DiscSpinningDao, DiscSp
} else {
cashOut.setRefund(baseResp.getErrorMsg());
}
}else if (StringUtils.isNotBlank(baseResp.getMsg())) {
cashOut.setState(2);
cashOut.setRefund("提现失败,请检查支付宝账号与收款人姓名后,重试。");
}
} else {
UserMoneyDetails userMoneyDetails = new UserMoneyDetails(

View File

@ -170,11 +170,12 @@ public class WuyouController {
@PostMapping("/extractNotify")
public String extractNotify(HttpServletRequest request, NotifyDto notifyDto) {
CompletableFuture.runAsync(() -> {
try {
scheduledExecutorService.schedule(() -> updateCashAsync(notifyDto), 3, TimeUnit.SECONDS);
} catch (Exception e) {
e.printStackTrace();
}
updateCashAsync(notifyDto);
// try {
// scheduledExecutorService.schedule(() -> updateCashAsync(notifyDto), 3, TimeUnit.SECONDS);
// } catch (Exception e) {
// e.printStackTrace();
// }
});
return "success";
}