dever 4 vuotta sitten
vanhempi
commit
63779f92d3
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7 0
      lib/Info.php

+ 7 - 0
lib/Info.php

@@ -296,6 +296,13 @@ class Info
         return $store;
     }
 
+    # 获取运费信息
+    public function getFreight($goods_id, $goods_price, $user, $num)
+    {
+        $info = Dever::db($this->table_info)->getOne($id);
+        return $this->freight($info, $goods_price, $user = array(), $num);
+    }
+
     # 获取基本信息
     public function getInfo($id, $attr = true, $order = 'view_reorder', $user = array())
     {