feat: 添加系统配置信息:运行端口,dbType

This commit is contained in:
Blizzard
2025-04-26 00:02:03 +08:00
parent 72d0decbd8
commit 704e6db4be
6 changed files with 82 additions and 32 deletions
+6
View File
@@ -0,0 +1,6 @@
package config
type System struct {
Port int `mapstructure:"port" json:"port" yaml:"port"`
DbType string `mapstructure:"db-type" json:"db-type" yaml:"db-type"`
}