diff --git a/worldsrv/etcd.go b/worldsrv/etcd.go index 12c81b6..dcb5ba5 100644 --- a/worldsrv/etcd.go +++ b/worldsrv/etcd.go @@ -350,6 +350,21 @@ func platformConfigEvent(ctx context.Context, completeKey string, isInit bool, e default: logger.Logger.Errorf("etcd completeKey:%s, Not processed", completeKey) } + + PlatformMgrSingleton.GetConfig("1").GuideConfig = &webapi.GuideConfig{ + Platform: "1", + Info: []*webapi.GuideInfo{ + { + On: 1, + Skip: 1, + GuideId: 1, + Awards: nil, + MaxStep: 4, + AwardStep: 2, + Url: "", + }, + }, + } } func handlerEvent(ctx context.Context, completeKey string, isInit bool, event *clientv3.Event, data interface{}) {