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