From ccf52a662338d602e6f3db40fd1144c717ced04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Fri, 15 Aug 2025 16:23:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E6=9B=B4=E6=8D=A2=E6=89=8B?= =?UTF-8?q?=E6=9C=BA=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Login.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/application/api/model/Login.php b/application/api/model/Login.php index 5881670..c99edc9 100644 --- a/application/api/model/Login.php +++ b/application/api/model/Login.php @@ -135,7 +135,7 @@ class Login extends Model $return_res[$key]['tencent_im'] = ''; } - return ['code' => 1, 'msg' => '用户获取成功', 'data' => $return_res]; + return ['code' => 1, 'msg' => '用户获取成功!~', 'data' => $return_res]; }else{ $user_info = $phone_user['data'][0]; } @@ -262,17 +262,17 @@ class Login extends Model if (md5($password) != $user_info['password']) { return ['code' => 0, 'msg' => '密码错误', 'data' => null]; } - $multi_user = []; - //查询手机号绑定的账号 - $phone_user = $this->phone_login_query($user_name); - if($phone_user['code'] == 1){ - //获取返回数据的长度 - if(count($phone_user['data']) >= 2){ - $multi_user = $phone_user['data']; - } - } +// $multi_user = []; +// //查询手机号绑定的账号 +// $phone_user = $this->phone_login_query($user_name); +// if($phone_user['code'] == 1){ +// //获取返回数据的长度 +// if(count($phone_user['data']) >= 2){ +// $multi_user = $phone_user['data']; +// } +// } - $login = $this->login($user_info,$system,$login_device,$multi_user); + $login = $this->login($user_info,$system,$login_device); if($login['code'] != 1){ return $login; }