Browse Source

代码修改

WH01243 2 năm trước cách đây
mục cha
commit
b8397610aa
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      middleground/middleground.go

+ 2 - 2
middleground/middleground.go

@@ -6,9 +6,9 @@ type Middleground struct {
 	PowerCheckCenter *powerCheckCenter
 	PowerCheckCenter *powerCheckCenter
 }
 }
 
 
-func NewMiddleground(hosts []string, key string) *Middleground {
+func NewMiddleground(hosts []string) *Middleground {
 	return &Middleground{
 	return &Middleground{
-		UserCenter: newUserCenter(hosts, key),
+		hosts: hosts,
 	}
 	}
 }
 }
 func (m *Middleground) RegUserCenter(key string) *Middleground {
 func (m *Middleground) RegUserCenter(key string) *Middleground {