From 96bbac8533a48c9ebe93097f030eb13b2def294e Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Mon, 19 Aug 2024 13:52:09 +0800 Subject: [PATCH] no message --- worldsrv/coinscenemgr.go | 2 +- worldsrv/platform.go | 2 +- worldsrv/platformmgr.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/worldsrv/coinscenemgr.go b/worldsrv/coinscenemgr.go index bb2f9b4..8f25966 100644 --- a/worldsrv/coinscenemgr.go +++ b/worldsrv/coinscenemgr.go @@ -1,7 +1,6 @@ package main import ( - "games.yol.com/win88/model" "math/rand" "time" @@ -11,6 +10,7 @@ import ( "mongo.games.com/goserver/core/transact" "mongo.games.com/game/common" + "mongo.games.com/game/model" "mongo.games.com/game/proto" hallproto "mongo.games.com/game/protocol/gamehall" "mongo.games.com/game/protocol/server" diff --git a/worldsrv/platform.go b/worldsrv/platform.go index a173e6a..e7106ab 100644 --- a/worldsrv/platform.go +++ b/worldsrv/platform.go @@ -129,7 +129,7 @@ func (cfg *GameList) GetGameConfig(gameFreeId int32) *webapiproto.GameFree { return nil } -func CompareGameFreeConfigChged(oldCfg, newCfg *webapiproto.GameFree) bool { +func CompareGameFreeConfigChanged(oldCfg, newCfg *webapiproto.GameFree) bool { if oldCfg.Status != newCfg.Status || oldCfg.GroupId != newCfg.GroupId || oldCfg.DbGameFree.GetBot() != newCfg.DbGameFree.GetBot() || diff --git a/worldsrv/platformmgr.go b/worldsrv/platformmgr.go index be24b14..1fff5f4 100644 --- a/worldsrv/platformmgr.go +++ b/worldsrv/platformmgr.go @@ -243,7 +243,7 @@ func (pm *PlatformMgr) UpsertGameFree(platform string, data *webapiproto.GameFre pgc.gameId[data.DbGameFree.Id] = append(pgc.gameId[data.DbGameFree.Id], data) } // 新增的场次不会通知 - if ok && old != nil && !CompareGameFreeConfigChged(old, data) { + if ok && old != nil && !CompareGameFreeConfigChanged(old, data) { pm.OnPlatformGameFreeUpdate(p, old, data) pm.SyncGameFree(p.IdStr, data) }