Files
hyperf_rbac_framework_serve…/app/Constants/AdminCode.php
2025-09-12 15:23:08 +08:00

20 lines
399 B
PHP

<?php
declare(strict_types=1);
namespace App\Constants;
use Hyperf\Constants\Annotation\Constants;
use Hyperf\Constants\Annotation\Message;
use Hyperf\Constants\EnumConstantsTrait;
#[Constants]
final class AdminCode extends ResultCode
{
#[Message("登录失败")]
public const int LOGIN_ERROR = 10001;
#[Message("验证已过期")]
public const int LOGIN_TOKEN_ERROR = 10002;
}