Browse Source

一些功能

Kirin 3 years ago
parent
commit
5628bba8eb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/admin/controller/order/StoreOrder.php

+ 1 - 0
app/admin/controller/order/StoreOrder.php

@@ -694,6 +694,7 @@ class StoreOrder extends AuthController
         unset($data['refund_price']);
         $refund_data['pay_price'] = bcadd($product['pay_price'], $product['deposit'], 2);
         $refund_data['refund_price'] = $refund_price;
+        $refund_data['refund_id'] = 'refund_deposit' . $product['order_id'];
 
         if ($product['pay_type'] == 'weixin') {
             if ($product['is_channel'] == 1) {//小程序