mirror of
https://gitee.com/ctexthuang/hyperf-micro-svc.git
synced 2026-02-08 10:20:16 +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