正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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; |
-
请 注册 或 登录 后发表评论