Browse Source

[智价云] 登录提示语更新

tangyuanwang 1 week ago
parent
commit
282d933497
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/Http/Controllers/Api/Login.php
  2. 1 1
      app/Http/Controllers/Manager/Login.php

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

@@ -94,7 +94,7 @@ class Login extends Api
         // 查询用户
         $user_info        = $EmployeeModel->where('mobile', $phone)->first(['id', 'name', 'mobile', 'status', 'password', 'insert_time', 'update_time']);
         // 用户不存在
-        if (!$user_info || $user_info['status'])    return json_send(['code' => 'error', 'msg' => '密码错误或账号不存在1']);
+        if (!$user_info || $user_info['status'])    return json_send(['code' => 'error', 'msg' => '密码错误或账号不存在']);
         // 用户不存在
         if ($user_info['status'])                 return json_send(['code' => 'error', 'msg' => '该账号已停用']);
         // 转数组

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

@@ -101,7 +101,7 @@ class Login extends Manager
 		// 查询用户
 		$admin    	= $AdminUser->where('phone', $phone)->first(['uid', 'username', 'phone', 'status', 'password', 'insert_time', 'update_time']);
 		// 用户不存在
-		if (!$admin || $admin['status'])	return json_send(['code' => 'error', 'msg' => '密码错误或账号不存在1']);
+		if (!$admin || $admin['status'])	return json_send(['code' => 'error', 'msg' => '密码错误或账号不存在']);
 		// 用户不存在
 		if ($admin['status']) 				return json_send(['code' => 'error', 'msg' => '该账号已停用']);
 		// 转数组