娃娃机配置

This commit is contained in:
by 2024-09-20 17:16:25 +08:00
parent 3b024058be
commit 9660136ef0
1 changed files with 1 additions and 1 deletions

View File

@ -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{}) {