瀏覽代碼

登录提示修改

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()){