dev-discount
袁野 3 years ago
parent 89428ed33b
commit 41ecc8ef9b
  1. 8
      hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java

@ -62,9 +62,6 @@ public class CzOrderController {
@Resource @Resource
private GoodsOrderServiceImpl goodsOrderService; private GoodsOrderServiceImpl goodsOrderService;
@Resource
private HighRefundAuditService highRefundAuditService;
@RequestMapping(value = "/rechargeCallback", method = RequestMethod.POST) @RequestMapping(value = "/rechargeCallback", method = RequestMethod.POST)
@ApiOperation(value = "话费充值回调") @ApiOperation(value = "话费充值回调")
@ResponseBody @ResponseBody
@ -89,10 +86,7 @@ public class CzOrderController {
order.setStatus(3); order.setStatus(3);
outRechargeOrderService.updateOrder(order); outRechargeOrderService.updateOrder(order);
} else if (dataObject.getInteger("status") == 4) { } else if (dataObject.getInteger("status") == 4) {
if (orderToRefund(order.getId())) { orderToRefund(order.getId());
order.setStatus(6);
outRechargeOrderService.updateOrder(order);
}
} }
} }
response.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF-8");

Loading…
Cancel
Save