小么熊🐻 il y a 2 ans
Parent
commit
db8a9d8812

+ 1 - 2
jsjp-admin/src/main/java/com/miaxis/app/controller/wx/WxNotifyController.java

@@ -230,8 +230,7 @@ public class WxNotifyController {
 
         if ("SUCCESS".equals(refundRecord.getStatus())) {
             //退款成功
-            WxJsOrder order = wxJsOrderService.getByOutTradeNo(outTradeNo);
-            orderInfoService.refundOrder(order);
+
         }
     }
 

+ 1 - 2
jsjp-admin/src/main/java/com/miaxis/pc/PcOrderInfoController.java

@@ -95,8 +95,7 @@ public class PcOrderInfoController extends BaseController{
         WxJsOrder order = wxJsOrderService.getByOutTradeNo(outTradeNo);
         refundRecordService.refund(order,refundCode,reason);
         //TODO 取消会员
-       // orderInfoService.refundOrder(order);
-
+        orderInfoService.refundOrder(order);
         return Response.success();
     }