From ae18ea16c152dcd41906b87767a0546a26a6b265 Mon Sep 17 00:00:00 2001 From: limu <610543851@qq.com> Date: Wed, 24 Jan 2024 09:26:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/user/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/user/User.php b/app/controller/api/user/User.php index efa9968..d916455 100644 --- a/app/controller/api/user/User.php +++ b/app/controller/api/user/User.php @@ -346,7 +346,7 @@ class User extends BaseController } $data['spread_phone'] = $b ?? ''; if(!empty($data['spread_uid2'])){ - $c = userModel::getDB()->where('uid',$data['spread_uid'])->find(); + $c = userModel::getDB()->where('uid',$data['spread_uid2'])->find(); $d = $c->phone; } $data['spread_phone2'] = $d ?? '';