|
|
@@ -51,6 +51,7 @@ class GoodsLists extends BaseAdminDataLists implements ListsSearchInterface
|
|
|
public function queryWhere()
|
|
|
{
|
|
|
$where = [];
|
|
|
+ $where['is_show'] = 1;//后台正常显示商品
|
|
|
if (!empty($this->params['goods_category_id'])) {
|
|
|
$goodsCategoryId = end($this->params['goods_category_id']);
|
|
|
$goodsCategoryData = GoodsCategory::where(['status'=>1])->order(['pid' => 'asc','weigh' => 'desc', 'id' => 'desc'])
|