From 02c7af374b41f93cfa137f4622431460d510c7ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Tue, 27 May 2025 17:38:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BB=A3=E7=90=86=E5=95=86=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=E5=8F=AF=E9=80=9A=E8=BF=87=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E5=95=86=E8=B4=A6=E5=8F=B7=E5=92=8C=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=8F=B7=E9=83=BD=E8=83=BD=E6=90=9C=E7=B4=A2=E3=80=91=20https:?= =?UTF-8?q?//www.tapd.cn/tapd=5Ffe/67163502/story/detail/11671635020010000?= =?UTF-8?q?55?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/agent/controller/Agent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/agent/controller/Agent.php b/app/agent/controller/Agent.php index 4034c31..dc0f752 100644 --- a/app/agent/controller/Agent.php +++ b/app/agent/controller/Agent.php @@ -24,7 +24,7 @@ class Agent extends Controller } $where = []; if(!empty($_GET['keyWord'])){ - $where['username'] = $_GET['keyWord']; + $where = 'username = '.$_GET['keyWord'].' OR phone='.$_GET['keyWord']; } $agent_user_model = new AgentUser; $user_model = new UserModel;