From c347014afb950e530efd8a3b09fd0aef94472872 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Tue, 7 Nov 2023 14:16:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=BB=E5=8A=A1=E5=85=B3?= =?UTF-8?q?=E9=94=AE=E5=AD=97=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/project/model/ProjectTask.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/project/model/ProjectTask.php b/app/project/model/ProjectTask.php index f719a89..f48e23f 100644 --- a/app/project/model/ProjectTask.php +++ b/app/project/model/ProjectTask.php @@ -76,6 +76,9 @@ class ProjectTask extends Model if (!empty($param['keywords'])) { $where[] = ['title|content', 'like', '%' . $param['keywords'] . '%']; } + if (!empty($param['keyword'])) { + $where[] = ['title|content', 'like', '%' . $param['keyword'] . '%']; + } $where[] = ['delete_time', '=', 0];