正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -30,13 +30,13 @@ class NavLogic extends BaseLogic | @@ -30,13 +30,13 @@ class NavLogic extends BaseLogic | ||
| 30 | */ | 30 | */ |
| 31 | public function list(){ | 31 | public function list(){ |
| 32 | $where = []; | 32 | $where = []; |
| 33 | - if(!empty($this->param['location'])){ | ||
| 34 | - $where[] = ['location','=',$this->param['location']]; | 33 | + if(!empty($this->requestAll['location'])){ |
| 34 | + $where[] = ['location','=',$this->requestAll['location']]; | ||
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | $lists = $this->getList($where,['sort'=>'asc'],['*'],false); | 37 | $lists = $this->getList($where,['sort'=>'asc'],['*'],false); |
| 38 | 38 | ||
| 39 | - $isTree = $this->param['tree']??false; | 39 | + $isTree = $this->requestAll['tree']??false; |
| 40 | 40 | ||
| 41 | if($isTree){ | 41 | if($isTree){ |
| 42 | $lists = list_to_tree($lists); | 42 | $lists = list_to_tree($lists); |
-
请 注册 或 登录 后发表评论