dever 3 年之前
父節點
當前提交
8bf66dc79a
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 0
      app/mshop/lib/Buy.php
  2. 1 1
      app/mshop/src/Buy.php

+ 2 - 0
app/mshop/lib/Buy.php

@@ -147,6 +147,8 @@ class Buy
             $result = $this->getInfo($result, true);
         }
 
+        $result['config'] = Dever::db('main/manage_config')->find();
+
         return $result;
     }
 

+ 1 - 1
app/mshop/src/Buy.php

@@ -133,7 +133,7 @@ class Buy extends Core
     {
         $order_id = Dever::input('order_id');
 
-        return Dever::load('shop/lib/refund')->set('buy')->apply(1, $this->shop_id, $order_id, false, 3, 0, '', '', 2);
+        return Dever::load('shop/lib/refund')->set('buy')->apply(1, $this->shop_id, $order_id, false, 3, 0, '门店退款', '', 2);
     }
 
     # 货物已收到 全部退款 报损 需要审核