add:
This commit is contained in:
@@ -5,8 +5,14 @@ import (
|
||||
"github.com/zeromicro/go-zero/zrpc"
|
||||
)
|
||||
|
||||
type JwtConfig struct {
|
||||
SecretKey string `json:"secretKey"`
|
||||
Issuer string `json:"issuer"`
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
zrpc.RpcServerConf
|
||||
DataSource string `json:"dataSource"`
|
||||
CacheConf cache.CacheConf
|
||||
Jwt JwtConfig `json:"jwt"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user