mirror of
https://gitee.com/ctexthuang/hyperf_rbac_framework_server_ctexthuang.git
synced 2025-12-25 19:27:48 +08:00
feat : admin aspect
This commit is contained in:
@@ -11,9 +11,10 @@ use Hyperf\Constants\EnumConstantsTrait;
|
||||
#[Constants]
|
||||
final class AdminCode extends ResultCode
|
||||
{
|
||||
#[Message("登录失败")]
|
||||
public const int LOGIN_ERROR = 10001;
|
||||
#[Message("账号已禁用")]
|
||||
public const int DISABLED = 423;
|
||||
|
||||
#[Message("暂无权限")]
|
||||
public const int FORBIDDEN = 403;
|
||||
|
||||
#[Message("验证已过期")]
|
||||
public const int LOGIN_TOKEN_ERROR = 10002;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user