feat : admin aspect

This commit is contained in:
2025-09-15 14:45:29 +08:00
parent 8665b27294
commit 8046676669
11 changed files with 430 additions and 16 deletions

View File

@@ -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;
}