feat(auth): 添加JWT与Casbin权限认证功能
This commit is contained in:
1 parent
fe86c081f4
commit
16a9f64109
9 files changed
+236
-27
No files matched your search
@@ -11,6 +11,7 @@ type Config struct {
|
||||
Server ServerConfig `mapstructure:"server" yaml:"server"`
|
||||
Database DatabaseConfig `mapstructure:"database" yaml:"database"`
|
||||
Logger LoggerConfig `mapstructure:"logger" yaml:"logger"`
|
||||
Jwt JwtConfig `mapstructure:"logger" yaml:"jwt"`
|
||||
}
|
||||
|
||||
// LoadConfig 读取并解析配置文件
|
||||
|
||||
Reference in new issue
Block a user