作者 lyh

gx

@@ -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', []);