From 9660136ef07184aa9212ab6c38cba439fecb96cd Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Fri, 20 Sep 2024 17:16:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A8=83=E5=A8=83=E6=9C=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/etcd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldsrv/etcd.go b/worldsrv/etcd.go index a2419f9..b86e111 100644 --- a/worldsrv/etcd.go +++ b/worldsrv/etcd.go @@ -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{}) {