From b0714f610fe710c72fea273d85f2e3ac5aa96c02 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 26 Mar 2024 13:52:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/Api.php b/app/api/controller/Api.php index 4e6bb72..59cf621 100644 --- a/app/api/controller/Api.php +++ b/app/api/controller/Api.php @@ -32,7 +32,7 @@ class Api $param['create_time'] = time(); $param['admin_id'] = 1; if (!empty($param['md5']) && strlen($param['md5']) > 2) { - $id = TaskList::where('md5', $param['md5'])->value('id'); + $id = TaskList::where('md5', $param['md5'])->where('flow_status',1)->value('id'); if ($id) { return to_assign(1, '已存在'); }