|
@@ -51,8 +51,8 @@ func init() {
|
|
|
RedisInit(&DB.Redis)
|
|
|
//初始es
|
|
|
EsInit(&DB.Es)
|
|
|
- //Middleground = middleground.NewMiddleground(C.Etcd.Hosts).
|
|
|
- Middleground = middleground.NewMiddleground([]string{"192.168.3.149:2379"}).
|
|
|
+ Middleground = middleground.NewMiddleground(C.Etcd.Hosts).
|
|
|
+ //Middleground = middleground.NewMiddleground([]string{"192.168.3.149:2379"}).
|
|
|
RegUserCenter(C.UserCenterKey).
|
|
|
RegPowerCheckCenter(C.PowerCheckCenterKey).
|
|
|
RegEntManageApplication(C.EntManageApplication)
|