Browse Source

登录提示

linwu 1 năm trước cách đây
mục cha
commit
ffa21a1a74
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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('用户名或密码错误');
         }
 	}