'修改分类隐藏'
This commit is contained in:
parent
471b22e329
commit
19b0567070
@ -195,6 +195,7 @@ class GoodsController extends Controller
|
|||||||
'cx_mch_id' => $this->cx_mch_id,
|
'cx_mch_id' => $this->cx_mch_id,
|
||||||
'is_delete' => 0,
|
'is_delete' => 0,
|
||||||
'type' => Cat::TYPE_GOODS,
|
'type' => Cat::TYPE_GOODS,
|
||||||
|
'is_hide'=>0
|
||||||
])
|
])
|
||||||
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
|
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
|
||||||
->select('id,name')->asArray()->all();
|
->select('id,name')->asArray()->all();
|
||||||
@ -204,6 +205,7 @@ class GoodsController extends Controller
|
|||||||
'cx_mch_id' => $this->cx_mch_id,
|
'cx_mch_id' => $this->cx_mch_id,
|
||||||
'is_delete' => 0,
|
'is_delete' => 0,
|
||||||
'type' => Cat::TYPE_GOODS,
|
'type' => Cat::TYPE_GOODS,
|
||||||
|
'is_hide'=>0
|
||||||
])
|
])
|
||||||
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
|
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
|
||||||
->select('id,name')->asArray()->all();
|
->select('id,name')->asArray()->all();
|
||||||
@ -213,6 +215,7 @@ class GoodsController extends Controller
|
|||||||
'cx_mch_id' => $this->cx_mch_id,
|
'cx_mch_id' => $this->cx_mch_id,
|
||||||
'is_delete' => 0,
|
'is_delete' => 0,
|
||||||
'type' => Cat::TYPE_GOODS,
|
'type' => Cat::TYPE_GOODS,
|
||||||
|
'is_hide'=>0
|
||||||
])
|
])
|
||||||
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
|
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
|
||||||
->select('id,name')->asArray()->all();
|
->select('id,name')->asArray()->all();
|
||||||
@ -222,6 +225,7 @@ class GoodsController extends Controller
|
|||||||
'cx_mch_id' => $this->cx_mch_id,
|
'cx_mch_id' => $this->cx_mch_id,
|
||||||
'is_delete' => 0,
|
'is_delete' => 0,
|
||||||
'type' => Cat::TYPE_GOODS,
|
'type' => Cat::TYPE_GOODS,
|
||||||
|
'is_hide'=>0
|
||||||
])
|
])
|
||||||
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
|
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
|
||||||
->select('id,name')->asArray()->all();
|
->select('id,name')->asArray()->all();
|
||||||
@ -231,6 +235,7 @@ class GoodsController extends Controller
|
|||||||
'cx_mch_id' => $this->cx_mch_id,
|
'cx_mch_id' => $this->cx_mch_id,
|
||||||
'is_delete' => 0,
|
'is_delete' => 0,
|
||||||
'type' => Cat::TYPE_GOODS,
|
'type' => Cat::TYPE_GOODS,
|
||||||
|
'is_hide'=>0
|
||||||
])
|
])
|
||||||
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
|
->orderBy(['sort' => SORT_ASC, 'created_at' => SORT_DESC])
|
||||||
->select('id,name')->asArray()->all();
|
->select('id,name')->asArray()->all();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user