This commit is contained in:
wangjinlei
2024-12-03 17:08:40 +08:00
parent 79de1c784a
commit 5bd2e2e024
7 changed files with 96 additions and 7 deletions

View File

@@ -849,7 +849,7 @@ class Reviewer extends Base
if(preg_match('/[\x{4e00}-\x{9fa5}]/u', $content)>0){//含有中文
if($journal_info['journal_id']==1){
if(mb_strlen($content, 'UTF8')<150){
return jsonError("We encourage you to enrich your comment further to help improve the peer paper (at least 100 words).");
return jsonError("We encourage you to enrich your comment further to help improve the peer paper (at least 150 words).");
}
}else{
if(mb_strlen($content, 'UTF8')<100){
@@ -860,7 +860,7 @@ class Reviewer extends Base
if($journal_info['journal_id']==1){
$carray = explode(" ", $content);
if(count($carray)<150){
return jsonError("We encourage you to enrich your comment further to help improve the peer paper (at least 100 words).");
return jsonError("We encourage you to enrich your comment further to help improve the peer paper (at least 150 words).");
}
}else{
$carray = explode(" ", $content);