dever 4 年之前
父节点
当前提交
3ba3f4d058
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/goods/lib/Info.php

+ 4 - 0
app/goods/lib/Info.php

@@ -445,6 +445,10 @@ class Info
 
         $this->getGroup($info);
 
+        if (!$info['attr']) {
+            $info['price_type'] = 1;
+        }
+
         //$info['freight'] = 0;
         unset($info['f_price']);
         unset($info['cdate']);