Browse Source

同步组合支付

gorden 6 tháng trước cách đây
mục cha
commit
656d9cd1b0
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

@@ -424,7 +424,7 @@ class RefundController extends Curd
                 'coupon_id' => null,
                 'coupon_value' => $amount,
                 'coupon_classify' => '退款',
-                'coupon_detail_id' => $remark
+                'coupon_detail_id' => [$remark]
             ];
 
             $order->order_discount_json = json_encode($orderDiscountJson, JSON_UNESCAPED_UNICODE);