From 8fa872344011468394fe470f8b6904516194fc70 Mon Sep 17 00:00:00 2001 From: wangjinlei <751475802@qq.com> Date: Wed, 13 Mar 2024 10:24:16 +0800 Subject: [PATCH] 1 --- application/api/controller/Article.php | 4 ++++ 1 file changed, 4 insertions(+) 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) {