Browse Source

登录提示

linwu 1 year ago
parent
commit
ffa21a1a74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/LoginController.php

+ 1 - 1
app/admin/controller/LoginController.php

@@ -34,7 +34,7 @@ class LoginController extends Base
 			$res['token'] = $token;
 			return $this->json(['data' => $res, 'token' => $token]);
 		} else {
-            throw new ValidateException('登录失败');
+            throw new ValidateException('用户名或密码错误');
         }
 	}