正在显示
1 个修改的文件
包含
5 行增加
和
1 行删除
| @@ -31,7 +31,10 @@ class ComController extends BaseController | @@ -31,7 +31,10 @@ class ComController extends BaseController | ||
| 31 | $this->map = $this->getRoleMenuList(); | 31 | $this->map = $this->getRoleMenuList(); |
| 32 | }else{ | 32 | }else{ |
| 33 | $this->map['status'] = 0; | 33 | $this->map['status'] = 0; |
| 34 | - $this->map['id'] = ['!=',11]; | 34 | + $code = $this->getIsHome(); |
| 35 | + if($code == 0){ | ||
| 36 | + $this->map['id'] = ['!=',11]; | ||
| 37 | + } | ||
| 35 | } | 38 | } |
| 36 | $lists = $projectMenuModel->list($this->map,'sort'); | 39 | $lists = $projectMenuModel->list($this->map,'sort'); |
| 37 | $menu = array(); | 40 | $menu = array(); |
| @@ -81,6 +84,7 @@ class ComController extends BaseController | @@ -81,6 +84,7 @@ class ComController extends BaseController | ||
| 81 | return $this->map; | 84 | return $this->map; |
| 82 | } | 85 | } |
| 83 | 86 | ||
| 87 | + | ||
| 84 | /** | 88 | /** |
| 85 | * @remark :查看是否显示网站装饰 | 89 | * @remark :查看是否显示网站装饰 |
| 86 | * @name :getIsHome | 90 | * @name :getIsHome |
-
请 注册 或 登录 后发表评论