1
This commit is contained in:
@@ -1307,6 +1307,10 @@ class Article extends Base
|
|||||||
if ($data['state'] == 6 && $article_info['repetition'] > 25) {
|
if ($data['state'] == 6 && $article_info['repetition'] > 25) {
|
||||||
return jsonError("Submissions with a repetition rate greater than thirty percent will not be accepted");
|
return jsonError("Submissions with a repetition rate greater than thirty percent will not be accepted");
|
||||||
}
|
}
|
||||||
|
//预接收有时间限定必须大于14天
|
||||||
|
if($data["state"]==6&&($article_info['ctime']+3600*24*14)>time()){
|
||||||
|
return jsonError("The receiving time must be greater than 14 days");
|
||||||
|
}
|
||||||
|
|
||||||
//接收后为用户增加积分
|
//接收后为用户增加积分
|
||||||
// if ($data['state'] == 5) {
|
// if ($data['state'] == 5) {
|
||||||
|
|||||||
Reference in New Issue
Block a user