1
This commit is contained in:
@@ -49,6 +49,11 @@ class Auto extends Base
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function phpInfo(){
|
||||||
|
phpInfo();
|
||||||
|
}
|
||||||
|
|
||||||
private function extractWeChatArticle($htmlContent) {
|
private function extractWeChatArticle($htmlContent) {
|
||||||
$dom = new DOMDocument();
|
$dom = new DOMDocument();
|
||||||
@$dom->loadHTML($htmlContent); // 加载HTML内容,@是为了抑制加载HTML时的警告
|
@$dom->loadHTML($htmlContent); // 加载HTML内容,@是为了抑制加载HTML时的警告
|
||||||
|
|||||||
@@ -868,7 +868,7 @@ class Reviewer extends Base
|
|||||||
}else{
|
}else{
|
||||||
$carray = explode(" ", $content1);
|
$carray = explode(" ", $content1);
|
||||||
if(count($carray)<100){
|
if(count($carray)<100){
|
||||||
return jsonError("We encourage you to enrich your comment further to help improve the peer paper (at least 70 words).");
|
return jsonError("We encourage you to enrich your comment further to help improve the peer paper (at least 100 words).");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user