feat(CateLists.php): 修改等级参数名从 leve 到 level
This commit is contained in:
parent
2d189279cf
commit
3dd394f537
@ -43,8 +43,8 @@ class CateLists extends BaseAdminDataLists implements ListsSearchInterface
|
||||
*/
|
||||
public function lists(): array
|
||||
{
|
||||
$leve = Request()->get('leve', 1);
|
||||
$this->searchWhere[] = ['leve', '=', $leve];
|
||||
$level = Request()->get('level', 1);
|
||||
$this->searchWhere[] = ['level', '=', $level];
|
||||
$this->searchWhere[] = ['count', '>', 0];
|
||||
$cate_arr = Db::name('store_product_cate')->where($this->searchWhere)->column('cate_id');
|
||||
$lists = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user