From 495e0197a39eeb91acdde2eec16ae475079a5378 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Fri, 21 Jul 2023 15:06:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/UserLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/logic/UserLogic.php b/app/api/logic/UserLogic.php index ca040b1ec..55f90bf1b 100755 --- a/app/api/logic/UserLogic.php +++ b/app/api/logic/UserLogic.php @@ -70,7 +70,7 @@ class UserLogic extends BaseLogic public static function info(int $userId) { $user = User::where(['id' => $userId]) - ->field('id,sn,sex,account,password,nickname,real_name,avatar,mobile,create_time,user_money') + ->field('id,sn,sex,account,password,nickname,real_name,avatar,mobile,create_time,user_money,income') ->findOrEmpty(); $user['has_password'] = !empty($user['password']); $user['has_auth'] = self::hasWechatAuth($userId);