소스 검색

登录提示修改

xiaogang 3 년 전
부모
커밋
02f645d630
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()){