mirror of
https://gitee.com/ctexthuang/hyperf_rbac_framework_server_ctexthuang.git
synced 2025-12-25 17:07:49 +08:00
feat : jwt
This commit is contained in:
@@ -19,4 +19,10 @@ class ResultCode extends AbstractConstants
|
||||
|
||||
#[Message("failed")]
|
||||
final public const int ERROR = 1;
|
||||
|
||||
#[Message("token已过期")]
|
||||
final public const int JWT_EXPIRED = 10001;
|
||||
|
||||
#[Message("token错误")]
|
||||
final public const int JWT_ERROR = 10002;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user