新增了redis配置struct

This commit is contained in:
Kynix Chen 2024-07-09 16:09:51 +08:00
parent a636ca67d9
commit b8e6bb0afa

View File

@ -71,6 +71,12 @@ type TokenClaims struct {
jwt.StandardClaims // standard claims无需用户设定
}
// token config
type TokenConfig struct {
Issuer string `json:"issuer"`
Secret string `json:"secret"`
}
/*
* PRIVATE
* 查验redis储存情况