休闲服过滤下分添加金币备注

This commit is contained in:
DESKTOP-45ANQ2C\unis 2025-01-03 10:19:47 +08:00
parent d65d4067ce
commit 45188820c4
2 changed files with 4 additions and 1 deletions

View File

@ -181,7 +181,7 @@ func (svc *CoinLogSvc) GetCoinLogAllInTime(args *model.GetCoinLogGameReq, ret *m
endts := args.EndTs endts := args.EndTs
billType := args.BillType // 0金币 1钻石 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() 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) 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)

View File

@ -1145,6 +1145,9 @@ func (this *Scene) GetSceneName() string {
} else if this.IsHundredScene() { } else if this.IsHundredScene() {
return this.GetHundredSceneName() return this.GetHundredSceneName()
} }
if this.IsCustom() {
return this.GetDBGameFree().GetName() + this.GetDBGameFree().GetTitle()
}
return "" return ""
} }