| | |
| | | throw new GlobalException("订单信息异常!"); |
| | | } |
| | | Boolean b = withdrawService.confirmWithdraw(openId, userId, order); |
| | | // if (!b) { |
| | | // throw new GlobalException("提现失败!"); |
| | | // } |
| | | if (!b) { |
| | | throw new GlobalException("提现失败!"); |
| | | } |
| | | }else { |
| | | Order order = orderService.lambdaQuery() |
| | | .eq(Order::getId, withdraw.getOrderId()) |
| | |
| | | withdrawDetailVO.setWithdrawalState(withdraw.getState()); |
| | | withdrawDetailVO.setWithdrawalTime(withdraw.getCreateTime()); |
| | | } |
| | | withdrawDetailVO.setPackageInfo(order.getPackageInfo()); |
| | | withdrawDetailVO.setAddress(order.getAddress()); |
| | | if (null != serveRecord) { |
| | | withdrawDetailVO.setPhoto(serveRecord.getPhoto()); |