作者 邓超

xd

@@ -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);