From 2a0d25a6521cde5c6bb638b0c54251da7abf77dc Mon Sep 17 00:00:00 2001 From: hdm Date: Sat, 24 Sep 2022 21:07:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E5=AE=A2=E6=88=B7=E5=AD=90?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E6=95=B0=E6=8D=AE=E4=B8=8D=E5=AF=B9=E6=94=B9?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/customer/controller/Index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/customer/controller/Index.php b/app/customer/controller/Index.php index a442b0f..4701569 100644 --- a/app/customer/controller/Index.php +++ b/app/customer/controller/Index.php @@ -53,6 +53,9 @@ class Index extends BaseController if(!empty($dids)){ $whereOr[] =['a.belong_did', 'in', $dids]; } + else{ + $whereOr[] =['a.belong_did', '=', 0]; + } } else if($tab==3){ $whereOr[] = ['', 'exp', Db::raw("FIND_IN_SET('{$uid}',a.share_ids)")];