正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -215,7 +215,7 @@ class CNoticeController extends BaseController | @@ -215,7 +215,7 @@ class CNoticeController extends BaseController | ||
| 215 | $project_id = $this->user['project_id']; | 215 | $project_id = $this->user['project_id']; |
| 216 | $type = intval($request->input('type', 1)); | 216 | $type = intval($request->input('type', 1)); |
| 217 | $route = intval($request->input('page', 1)); | 217 | $route = intval($request->input('page', 1)); |
| 218 | - if(in_array($route,[4,6])){ | 218 | + if($type == 2 && in_array($route,[4,6])){ |
| 219 | $this->fail('聚合页翻译请联系管理员'); | 219 | $this->fail('聚合页翻译请联系管理员'); |
| 220 | } | 220 | } |
| 221 | $url = $request->input('url', []); | 221 | $url = $request->input('url', []); |
-
请 注册 或 登录 后发表评论