提现问题
This commit is contained in:
parent
764dcb72ad
commit
893a37c752
|
|
@ -127,6 +127,9 @@ public class DiscSpinningServiceImpl extends ServiceImpl<DiscSpinningDao, DiscSp
|
||||||
} else {
|
} else {
|
||||||
cashOut.setRefund(baseResp.getErrorMsg());
|
cashOut.setRefund(baseResp.getErrorMsg());
|
||||||
}
|
}
|
||||||
|
}else if (StringUtils.isNotBlank(baseResp.getMsg())) {
|
||||||
|
cashOut.setState(2);
|
||||||
|
cashOut.setRefund("提现失败,请检查支付宝账号与收款人姓名后,重试。");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
UserMoneyDetails userMoneyDetails = new UserMoneyDetails(
|
UserMoneyDetails userMoneyDetails = new UserMoneyDetails(
|
||||||
|
|
|
||||||
|
|
@ -170,11 +170,12 @@ public class WuyouController {
|
||||||
@PostMapping("/extractNotify")
|
@PostMapping("/extractNotify")
|
||||||
public String extractNotify(HttpServletRequest request, NotifyDto notifyDto) {
|
public String extractNotify(HttpServletRequest request, NotifyDto notifyDto) {
|
||||||
CompletableFuture.runAsync(() -> {
|
CompletableFuture.runAsync(() -> {
|
||||||
try {
|
updateCashAsync(notifyDto);
|
||||||
scheduledExecutorService.schedule(() -> updateCashAsync(notifyDto), 3, TimeUnit.SECONDS);
|
// try {
|
||||||
} catch (Exception e) {
|
// scheduledExecutorService.schedule(() -> updateCashAsync(notifyDto), 3, TimeUnit.SECONDS);
|
||||||
e.printStackTrace();
|
// } catch (Exception e) {
|
||||||
}
|
// e.printStackTrace();
|
||||||
|
// }
|
||||||
});
|
});
|
||||||
return "success";
|
return "success";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue