From bc4f15b65fb8bc37c3093431fd874e91809ededf Mon Sep 17 00:00:00 2001 From: Devil Date: Wed, 21 Jul 2021 20:19:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=95=B0=E6=8D=AE=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/SearchService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/service/SearchService.php b/app/service/SearchService.php index 8c201477b..9fced9ddf 100755 --- a/app/service/SearchService.php +++ b/app/service/SearchService.php @@ -186,7 +186,7 @@ class SearchService } else { if(!empty($params['brand_id'])) { - $where_base[] = ['g.brand_id', 'in', intval($params['brand_id'])]; + $where_base[] = ['g.brand_id', 'in', [$params['brand_id']]]; } } -- GitLab