diff --git a/service/roomrank/handle.go b/service/roomrank/handle.go index c3a2795..9bb82f9 100644 --- a/service/roomrank/handle.go +++ b/service/roomrank/handle.go @@ -214,6 +214,7 @@ func HandleAddScore(req *models.ReqRoomRankAddScore) (code string, rsp models.Rs } if player.SettleHas() { rsp.RoomRankInfo = GetInfoFromSettle(player) + code = code_msg.RECODE_MERGE_ROOMRANK_HASSETTLE_ERROR return } /* ----- 结算 End -----*/ diff --git a/service/roomrank/player.go b/service/roomrank/player.go index d2f8eaf..a41d7b6 100644 --- a/service/roomrank/player.go +++ b/service/roomrank/player.go @@ -37,7 +37,7 @@ func LoadPlayer(gameId string, playerUid int64, topType int) (player *Player) { player.Init(playerUid, topType) err = svmysql.Create(player, gameId) if err != nil { - lxalilog.Errors(err, "roomrank._LoadPlayer Create error", gameId, player.Uid, player.ActivityId) + lxalilog.Errors(err, "roomrank._LoadPlayer Create error", gameId, player.Uid, player.TopType) return } } -- libgit2 0.21.0