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];