提现问题
This commit is contained in:
@@ -127,7 +127,7 @@ public class WuyouController {
|
||||
if ("2".equals(notifyDto.getStatus())) {
|
||||
cashOut.setState(1);
|
||||
cashOut.setOutAt(DateUtil.now());
|
||||
} else {
|
||||
} else if(!cashOut.getState().equals(2)){
|
||||
cashOut.setState(2);
|
||||
cashOut.setRefund(notifyDto.getMsg());
|
||||
|
||||
@@ -137,6 +137,8 @@ public class WuyouController {
|
||||
//存入余额 钱
|
||||
userMoneyService.updateAmount(1, cashOut.getUserId(), Double.parseDouble(cashOut.getMoney()));
|
||||
userMoneyDetailsService.save(userMoneyDetails);
|
||||
}else{
|
||||
return "success";
|
||||
}
|
||||
cashOutDao.updateById(cashOut);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user