提现问题
This commit is contained in:
parent
764dcb72ad
commit
893a37c752
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue