Merge branch 'xin' into pxb
| | |
| | | PayStateEnum stateEnum = PayStateEnum.NOTPAY; |
| | | if ("0".equals(map.get("pay_result"))) { |
| | | stateEnum = PayStateEnum.SUCCESS; |
| | | orderService.operationLog(order, OrderStatusEnum.TWO); |
| | | orderService.operationLog(order, OrderStatusEnum.TWO, null); |
| | | } |
| | | orderService.updatePayStatus(map.get("out_trade_no"), stateEnum, map.get("pay_info"), map.get("time_end")); |
| | | // 处理成功 |
| | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void operationLog(OrderResponse order, OrderStatusEnum stateEnum, String cardName) { |
| | | operationLogService.create(order, stateEnum, null); |
| | | operationLogService.create(order, stateEnum, cardName); |
| | | } |
| | | |
| | | @Override |