作者 lyh

gx

@@ -65,7 +65,7 @@ class CNoticeController extends BaseController @@ -65,7 +65,7 @@ class CNoticeController extends BaseController
65 $keyword_num = (new Keyword())->counts(['route'=>['!=',null]]); 65 $keyword_num = (new Keyword())->counts(['route'=>['!=',null]]);
66 $data_num = $this->productNum() + $this->CustomNum() + $this->newsNum() + $this->blogNum(); 66 $data_num = $this->productNum() + $this->CustomNum() + $this->newsNum() + $this->blogNum();
67 $number = $keyword_num * 18 + $lang_num * $data_num; 67 $number = $keyword_num * 18 + $lang_num * $data_num;
68 - if($number >= 45000){ 68 + if($number >= 450000){
69 $this->response('success',Code::SUCCESS,['msg'=>'翻译数量过多, 大概页面数量:'.$number.', 磁盘空间占用可能会超过40G,请谨慎使用!']); 69 $this->response('success',Code::SUCCESS,['msg'=>'翻译数量过多, 大概页面数量:'.$number.', 磁盘空间占用可能会超过40G,请谨慎使用!']);
70 } 70 }
71 $this->response('success'); 71 $this->response('success');