feat 错误包装

This commit is contained in:
2026-01-16 22:13:22 +08:00
parent d7c9442aae
commit b81b7f4e13
2 changed files with 10 additions and 9 deletions

View File

@@ -15,8 +15,9 @@ type Server struct {
func NewServer(ttl int64) *Server {
s := &Server{
Base: service.Base{
Target: common.KeyDiscoverUser,
EtcdTTL: ttl,
Target: common.KeyDiscoverUser,
ServiceName: common.KeyDiscoverServiceNameUser,
EtcdTTL: ttl,
},
}
s.Base.OnInit = s.OnInit