Merge branches 'gin-vue-admin-adjust-log' and 'master' of https://github.com/piexlmax/QMPlus into gin-vue-admin-adjust-log

 Conflicts:
	QMPlusServer/init/qmsql/initMysql.go
	QMPlusServer/main.go
	QMPlusVuePage/src/view/superAdmin/autoCode/index.vue
This commit is contained in:
pixel
2020-03-24 14:20:50 +08:00
10 changed files with 261 additions and 10 deletions
+8 -5
View File
@@ -32,11 +32,14 @@ type CasbinConfig struct { //casbin配置
}
type MysqlAdmin struct { // mysql admin 数据库配置
Username string `json:"username"`
Password string `json:"password"`
Path string `json:"path"`
Dbname string `json:"dbname"`
Config string `json:"config"`
Username string `json:"username"`
Password string `json:"password"`
Path string `json:"path"`
Dbname string `json:"dbname"`
Config string `json:"config"`
MaxIdleConns int `json:"maxIdleConns"`
MaxOpenConns int `json:"maxOpenConns"`
LogMode bool `json:"maxOpenConns"`
}
type RedisAdmin struct { // Redis admin 数据库配置