@@ -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' => '该账号已停用']);
// 转数组
@@ -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' => '该账号已停用']);