fix and optimize casbin (#1121)
* - 删除rabac_model.conf, 改为字符串代码, 方便部署 - 删除casbin相关配置文件 * fix: delete api时只传id导致casbin_rules表清空bug
This commit is contained in:
@@ -5,7 +5,6 @@ type Server struct {
|
||||
Zap Zap `mapstructure:"zap" json:"zap" yaml:"zap"`
|
||||
Redis Redis `mapstructure:"redis" json:"redis" yaml:"redis"`
|
||||
Email Email `mapstructure:"email" json:"email" yaml:"email"`
|
||||
Casbin Casbin `mapstructure:"casbin" json:"casbin" yaml:"casbin"`
|
||||
System System `mapstructure:"system" json:"system" yaml:"system"`
|
||||
Captcha Captcha `mapstructure:"captcha" json:"captcha" yaml:"captcha"`
|
||||
// auto
|
||||
|
Reference in New Issue
Block a user