|
@@ -259,14 +259,11 @@ public class UserWithdrawalServiceImpl extends ServiceImpl<UserWithdrawalDao, Us
|
|
|
build.setTradeStatus(TradeStatusEnum.pending);
|
|
|
build.setTransNo(transNo.toString());
|
|
|
} else {
|
|
|
+ build.setAuthStatus(AuthStatusEnum.DOING);
|
|
|
build.setTradeStatus(TradeStatusEnum.failed);
|
|
|
- build.setErrorMsg("请求三方接口返回失败");
|
|
|
+ build.setErrorMsg("请求三方接口同步返回失败");
|
|
|
}
|
|
|
- }
|
|
|
- updateById(build);
|
|
|
-
|
|
|
- //修改系统中账户
|
|
|
- if (!authOperaReq.getPass()) {
|
|
|
+ } else {
|
|
|
//审核不通过,账户解冻
|
|
|
UserAccountRecordDto accountRecordDto = new UserAccountRecordDto(
|
|
|
build.getUserId(), build.getAmount(), InOrOutEnum.OUT, AccountBizTypeEnum.WITHDRAWAL,
|
|
@@ -276,10 +273,10 @@ public class UserWithdrawalServiceImpl extends ServiceImpl<UserWithdrawalDao, Us
|
|
|
accountRecordDto.setSaveRecord(false);
|
|
|
userAccountService.accountChange(accountRecordDto);
|
|
|
|
|
|
- //发生结算成功通知
|
|
|
+ //发生审核未通过通知
|
|
|
unpassSend(build.getUserId(), build.getPhone(), authOperaReq.getReason());
|
|
|
}
|
|
|
-
|
|
|
+ updateById(build);
|
|
|
}
|
|
|
|
|
|
@Override
|