quguofeng il y a 1 an
Parent
commit
1d922063bc
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      application/mall/controller/StoreGoods.php

+ 1 - 2
application/mall/controller/StoreGoods.php

@@ -114,7 +114,6 @@ class StoreGoods extends Controller
             if(isset_full($data,'id')) $defaultValues = Db::name('StoreGoodsItem')->where(['goods_id' => $data['id']])->column($fields);
             $this->defaultValues = json_encode($defaultValues, JSON_UNESCAPED_UNICODE);
             $this->goods_cate = GoodsCate::getCateTree();
-            $this->express= Db::name('freight_template')->select();
         }
         // 添加或编辑商品
         if($this->request->isPost() && in_array($this->request->action(),['add','edit'])){
@@ -289,4 +288,4 @@ class StoreGoods extends Controller
 
 
 
-}
+}