feat 错误包装

This commit is contained in:
2026-01-16 22:13:15 +08:00
parent 584319e5ec
commit 3d7b650b4c
3 changed files with 26 additions and 27 deletions

View File

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