From d27c0270f8b02a5a655a74424899327f0b535825 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Fri, 24 May 2024 12:00:32 +0800 Subject: [PATCH] no message --- common/constant.go | 2 +- worldsrv/etcd.go | 4 ++-- worldsrv/viplevel.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/constant.go b/common/constant.go index 10a8061..c3645a1 100644 --- a/common/constant.go +++ b/common/constant.go @@ -254,7 +254,7 @@ const ( GainWay_Collect = 64 //64.集卡活动 GainWay_WeekCardAward = 65 //65.周卡每日奖励 GainWay_PigrankTakeCoin = 66 //66.存钱罐领取耗费钻石 - GainWay_PigrankGainCoin = 67 //66.存钱罐打开获取金币 + GainWay_PigrankGainCoin = 67 //67.存钱罐打开获取金币 GainWay_ItemMove = 68 //68.道具赠送 GainWay_RoleUpgrade = 69 //69.角色升级 GainWay_PetUpgrade = 70 //70.宠物升级 diff --git a/worldsrv/etcd.go b/worldsrv/etcd.go index c6cd128..c852fed 100644 --- a/worldsrv/etcd.go +++ b/worldsrv/etcd.go @@ -19,10 +19,10 @@ import ( func init() { // 平台配置 etcd.Register(etcd.ETCDKEY_PLATFORM_PREFIX, webapi.Platform{}, platformConfigEvent) - // 游戏场次配置 - etcd.Register(etcd.ETCDKEY_GAMECONFIG_PREFIX, webapi.GameFree{}, platformConfigEvent) // 超管平台游戏开关 etcd.Register(etcd.ETCDKEY_GAME_CONFIG_GLOBAL, webapi.GameConfigGlobal{}, platformConfigEvent) + // 游戏场次配置 + etcd.Register(etcd.ETCDKEY_GAMECONFIG_PREFIX, webapi.GameFree{}, platformConfigEvent) // 平台包数据 etcd.Register(etcd.ETCDKEY_PACKAGE_PREFIX, webapi.AppInfo{}, platformConfigEvent) // 客户端游戏入口开关 diff --git a/worldsrv/viplevel.go b/worldsrv/viplevel.go index 27770d3..916146a 100644 --- a/worldsrv/viplevel.go +++ b/worldsrv/viplevel.go @@ -28,7 +28,7 @@ func (this *VipMgr) ModuleName() string { } func (this *VipMgr) Init() { - + } func (this *VipMgr) UpdateVIPcfg(cfg *webapi_proto.VIPcfgDataList) {