作者 lyh

gx

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