diff --git a/application/api/controller/Article.php b/application/api/controller/Article.php index 3311363..adcf9e8 100644 --- a/application/api/controller/Article.php +++ b/application/api/controller/Article.php @@ -1307,6 +1307,10 @@ class Article extends Base if ($data['state'] == 6 && $article_info['repetition'] > 25) { 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) {