From 41ecc8ef9bbe6da433ae83452055c4d72de22b07 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Sun, 23 Jan 2022 20:55:05 +0800 Subject: [PATCH] 1 --- .../java/com/cweb/controller/pay/CzOrderController.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java b/hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java index dbd5adb5..4bd0f5d8 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java @@ -62,9 +62,6 @@ public class CzOrderController { @Resource private GoodsOrderServiceImpl goodsOrderService; - @Resource - private HighRefundAuditService highRefundAuditService; - @RequestMapping(value = "/rechargeCallback", method = RequestMethod.POST) @ApiOperation(value = "话费充值回调") @ResponseBody @@ -89,10 +86,7 @@ public class CzOrderController { order.setStatus(3); outRechargeOrderService.updateOrder(order); } else if (dataObject.getInteger("status") == 4) { - if (orderToRefund(order.getId())) { - order.setStatus(6); - outRechargeOrderService.updateOrder(order); - } + orderToRefund(order.getId()); } } response.setCharacterEncoding("UTF-8");