Browse Source

登录提示修改

xiaogang 3 years ago
parent
commit
02f645d630
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Api/AuthorizationsController.php

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

xqd
@@ -131,7 +131,7 @@ class AuthorizationsController extends Controller
             $credentials = ['mobile'=>$mobile,'password'=>$password];
 
             if (!auth('api')->attempt($credentials)) {
-                throw new Exception("用户名或密码错误");
+                throw new Exception("手机号或密码错误");
             }
         }else{
             if(!User::query()->where(['mobile'=>$mobile,'is_distory'=>0])->first()){