From dd9a6928581b3a766bc61799baaa7e8bad38d911 Mon Sep 17 00:00:00 2001 From: zhaoxiaorong Date: Wed, 9 Apr 2025 11:12:42 +0800 Subject: [PATCH] fix --- conf/types.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/conf/types.go b/conf/types.go index a119def..cf52b79 100644 --- a/conf/types.go +++ b/conf/types.go @@ -1,12 +1,13 @@ package conf type Base struct { - Service string `yaml:"Service"` // 服务名称 - Port string `yaml:"Port"` // 服务监听端口,0为自动随机端口 - Cache string `yaml:"Cache"` // REDIS缓存 - SecretKey string `yaml:"SecretKey"` // 服务秘钥 - BindIP string `yaml:"BindIP"` // 绑定IP - Addr string `yaml:"Addr"` + Service string `yaml:"Service"` // 服务名称 + Port string `yaml:"Port"` // 服务监听端口,0为自动随机端口 + Cache string `yaml:"Cache"` // REDIS缓存 + SecretKey string `yaml:"SecretKey"` // 服务秘钥 + BindIP string `yaml:"BindIP"` // 绑定IP + Addr string `yaml:"Addr"` + OnMicroService bool `yaml:"OnMicroService"` } type DBConf struct {