From f9ba4c0d6fb0d5814f5aa10b4d374d18e9307ed1 Mon Sep 17 00:00:00 2001 From: chengxl Date: Thu, 27 Nov 2025 09:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Workbench.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/controller/Workbench.php b/application/api/controller/Workbench.php index f1e67aa4..651f5166 100644 --- a/application/api/controller/Workbench.php +++ b/application/api/controller/Workbench.php @@ -45,7 +45,7 @@ class Workbench extends Base //标题 $sTitle = empty($aParam['title']) ? '': $aParam['title']; if(!empty($sTitle)){ - $aWhere = ['title' => trim($sTitle)]; + $aWhere = ['title' => ['like','%'.trim($sTitle).'%']]; } //国家 $sCountry = -1;