娃娃机配置
This commit is contained in:
parent
3b024058be
commit
9660136ef0
|
@ -98,7 +98,7 @@ func init() {
|
|||
// 竞技馆房间类型配置
|
||||
etcd.Register(etcd.ETCDKEY_RoomType, webapi.RoomType{}, handlerEvent)
|
||||
//娃娃机配置
|
||||
etcd.Register(etcd.ETCDKEY_MACHINE, webapi.MachineConfig{}, handlerEvent)
|
||||
etcd.Register(etcd.ETCDKEY_MACHINE, webapi.MachineConfig{}, platformConfigEvent)
|
||||
}
|
||||
|
||||
func platformConfigEvent(ctx context.Context, completeKey string, isInit bool, event *clientv3.Event, data interface{}) {
|
||||
|
|
Loading…
Reference in New Issue