@@ -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())
{