作者 lyh

gx

@@ -30,7 +30,7 @@ class NavController extends BaseController @@ -30,7 +30,7 @@ class NavController extends BaseController
30 */ 30 */
31 public function index(BNav $nav){ 31 public function index(BNav $nav){
32 $this->map['project_id'] = $this->user['project_id']; 32 $this->map['project_id'] = $this->user['project_id'];
33 - $lists = $nav->list($this->map,$this->order = ['sort','id']); 33 + $lists = $nav->list($this->map,$this->order = ['sort','id'],['*'],'asc');
34 $data = array(); 34 $data = array();
35 if(!empty($lists)){ 35 if(!empty($lists)){
36 foreach ($lists as $v){ 36 foreach ($lists as $v){