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 "" }