新增了redis配置struct
This commit is contained in:
parent
a636ca67d9
commit
b8e6bb0afa
@ -71,6 +71,12 @@ type TokenClaims struct {
|
|||||||
jwt.StandardClaims // standard claims,无需用户设定
|
jwt.StandardClaims // standard claims,无需用户设定
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// token config
|
||||||
|
type TokenConfig struct {
|
||||||
|
Issuer string `json:"issuer"`
|
||||||
|
Secret string `json:"secret"`
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* PRIVATE
|
* PRIVATE
|
||||||
* 查验redis储存情况
|
* 查验redis储存情况
|
||||||
|
Loading…
Reference in New Issue
Block a user