Browse Source

[智价云] 登录移除手机验证

tangyuanwang 3 hours ago
parent
commit
25c4f16bd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Manager/Login.php

+ 1 - 1
app/Http/Controllers/Manager/Login.php

@@ -35,7 +35,7 @@ class Login extends Manager
 		// 接收数据
 		$password    = $Request->input('password', '');
 		// 查询用户
-		$admin    	= $AdminUser->orWhere('username', $username)->orWhere('phone', $username)->first(['uid', 'username', 'phone', 'status', 'password', 'insert_time', 'update_time']);
+		$admin    	= $AdminUser->orWhere('username', $username)->first(['uid', 'username', 'phone', 'status', 'password', 'insert_time', 'update_time']);
 		// 用户不存在
 		if (!$admin || $admin['status'])	return json_send(['code' => 'error', 'msg' => '密码错误或账号不存在']);
 		// 用户不存在