mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-29 11:31:26 +08:00
优化功能,通知功能,任务功能
This commit is contained in:
@@ -44,6 +44,7 @@ type Config struct {
|
||||
Mysql *Mysql `yaml:"mysql"`
|
||||
Postgresql *Postgresql `yaml:"postgresql"`
|
||||
Casbin *Casbin `yaml:"casbin"`
|
||||
Gen *Gen `yaml:"gen"`
|
||||
Log *Log `yaml:"log"`
|
||||
}
|
||||
|
||||
|
||||
11
base/config/gen.go
Normal file
11
base/config/gen.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package config
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author Panda
|
||||
* @Date 2021/12/31 15:13
|
||||
**/
|
||||
type Gen struct {
|
||||
Dbname string `mapstructure:"dbname" json:"dbname" yaml:"dbname"`
|
||||
Frontpath string `mapstructure:"frontpath" json:"frontpath" yaml:"frontpath"`
|
||||
}
|
||||
Reference in New Issue
Block a user