Browse Source

退款管理

gorden 7 tháng trước cách đây
mục cha
commit
eec6245e7f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/admin/controller/order/RefundController.php

+ 1 - 1
app/admin/controller/order/RefundController.php

@@ -507,7 +507,7 @@ class RefundController extends Curd
             ];
 
             $order->order_discount_json = json_encode($orderDiscountJson, JSON_UNESCAPED_UNICODE);
-            $order->order_amount_pay = $order->order_amount_pay - $amount;
+//            $order->order_amount_pay = $order->order_amount_pay - $amount;
             $order->save();
         } catch (\Exception $e) {
             throw new BusinessException("退款失败");