From 45188820c4e75fd15313397649f787331e41a088 Mon Sep 17 00:00:00 2001 From: "DESKTOP-45ANQ2C\\unis" <121212121@qq.com> Date: Fri, 3 Jan 2025 10:19:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=91=E9=97=B2=E6=9C=8D=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E4=B8=8B=E5=88=86=E6=B7=BB=E5=8A=A0=E9=87=91=E5=B8=81=E5=A4=87?= =?UTF-8?q?=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbproxy/svc/l_coinlog.go | 2 +- gamesrv/base/scene.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dbproxy/svc/l_coinlog.go b/dbproxy/svc/l_coinlog.go index dfa253f..92bcb0b 100644 --- a/dbproxy/svc/l_coinlog.go +++ b/dbproxy/svc/l_coinlog.go @@ -181,7 +181,7 @@ func (svc *CoinLogSvc) GetCoinLogAllInTime(args *model.GetCoinLogGameReq, ret *m endts := args.EndTs billType := args.BillType // 0金币 1钻石 - logtypeConds := [...]int32{common.GainWayPlatformUpScore, common.GainWayPlatformUpScore} + logtypeConds := [...]int32{common.GainWayPlatformUpScore, common.GainWayPlatformDownScore} ret.Count, _ = CoinLogsCollection(plt).Find(bson.M{"cointype": billType, "ts": bson.M{"$gte": startts, "$lte": endts}}).Count() err = CoinLogsCollection(plt).Find(bson.M{"cointype": billType, "logtype": bson.M{"$nin": logtypeConds}, "ts": bson.M{"$gte": startts, "$lte": endts}}).Sort("-time").All(&ret.Logs) diff --git a/gamesrv/base/scene.go b/gamesrv/base/scene.go index 4d6a2e4..e7fcd04 100644 --- a/gamesrv/base/scene.go +++ b/gamesrv/base/scene.go @@ -1145,6 +1145,9 @@ func (this *Scene) GetSceneName() string { } else if this.IsHundredScene() { return this.GetHundredSceneName() } + if this.IsCustom() { + return this.GetDBGameFree().GetName() + this.GetDBGameFree().GetTitle() + } return "" }