panghu 8 ヶ月 前
親
コミット
7c1e3fadcc
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      app/Http/Controllers/Api/GoodsController.php

+ 1 - 1
app/Http/Controllers/Api/GoodsController.php

@@ -29,7 +29,7 @@ class GoodsController extends ApiController
 
         $list = GoodsCategory::where('is_del',0)
             ->where('shop_id',$shop_id)
-            ->select(['id as category_id','name','type'])
+            ->select(['id as category_id','name'])
             ->orderBy('sort','desc')
             ->get();