添加代码生成中route和gorm的自动注入

This commit is contained in:
LeonardWang
2021-03-19 23:56:40 +08:00
parent 9e0f95ec48
commit 0a3696ee01
8 changed files with 178 additions and 13 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ type Server struct {
Casbin Casbin `mapstructure:"casbin" json:"casbin" yaml:"casbin"`
System System `mapstructure:"system" json:"system" yaml:"system"`
Captcha Captcha `mapstructure:"captcha" json:"captcha" yaml:"captcha"`
// aoto
// auto
AutoCode Autocode `mapstructure:"autoCode" json:"autoCode" yaml:"autoCode"`
// gorm
Mysql Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"`