'修改分类隐藏'

This commit is contained in:
tang 2024-01-03 10:48:49 +08:00
parent 471b22e329
commit 19b0567070

View File

@ -195,6 +195,7 @@ class GoodsController extends Controller
'cx_mch_id' => $this->cx_mch_id,
'is_delete' => 0,
'type' => Cat::TYPE_GOODS,
'is_hide'=>0
])
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
->select('id,name')->asArray()->all();
@ -204,6 +205,7 @@ class GoodsController extends Controller
'cx_mch_id' => $this->cx_mch_id,
'is_delete' => 0,
'type' => Cat::TYPE_GOODS,
'is_hide'=>0
])
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
->select('id,name')->asArray()->all();
@ -213,6 +215,7 @@ class GoodsController extends Controller
'cx_mch_id' => $this->cx_mch_id,
'is_delete' => 0,
'type' => Cat::TYPE_GOODS,
'is_hide'=>0
])
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
->select('id,name')->asArray()->all();
@ -222,6 +225,7 @@ class GoodsController extends Controller
'cx_mch_id' => $this->cx_mch_id,
'is_delete' => 0,
'type' => Cat::TYPE_GOODS,
'is_hide'=>0
])
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
->select('id,name')->asArray()->all();
@ -231,6 +235,7 @@ class GoodsController extends Controller
'cx_mch_id' => $this->cx_mch_id,
'is_delete' => 0,
'type' => Cat::TYPE_GOODS,
'is_hide'=>0
])
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
->select('id,name')->asArray()->all();