Compare commits
No commits in common. "696267d9546bfd684da766f43df7871663061721" and "71bc527f96e4a01b979f73e4cd296059a28da92a" have entirely different histories.
696267d954
...
71bc527f96
File diff suppressed because it is too large
Load Diff
|
@ -513,8 +513,6 @@ message ASQueryOnlineReportList{
|
|||
int32 OrderType = 6;//排序方式 0,、倒序 1、正序
|
||||
int32 GameFreeId = 7;
|
||||
string Channel = 8;
|
||||
string GameDif = 9; // 游戏组
|
||||
string ChannelId = 10; // 推广渠道ID
|
||||
}
|
||||
message SAQueryOnlineReportList{
|
||||
TagCode Tag = 1; //错误码
|
||||
|
|
|
@ -1113,10 +1113,12 @@ func init() {
|
|||
pack.Msg = "数据序列化失败" + err.Error()
|
||||
return common.ResponseTag_ParamError, pack
|
||||
}
|
||||
platform := msg.Platform
|
||||
pageNo := msg.PageNo
|
||||
pageSize := msg.PageSize
|
||||
orderColumn := msg.OrderColumn
|
||||
orderType := msg.OrderType
|
||||
channel := msg.Channel
|
||||
|
||||
start := (pageNo - 1) * pageSize
|
||||
end := pageNo * pageSize
|
||||
|
@ -1130,37 +1132,21 @@ func init() {
|
|||
if !p.IsOnLine() {
|
||||
continue
|
||||
}
|
||||
if msg.GameDif != "" {
|
||||
if p.scene == nil || p.scene.dbGameFree.GetGameDif() != msg.GameDif {
|
||||
if msg.GameFreeId == 0 {
|
||||
if msg.GameId != 0 && (p.scene == nil || p.scene.gameId != int(msg.GameId)) {
|
||||
continue
|
||||
}
|
||||
} else {
|
||||
if p.scene == nil || p.scene.dbGameFree.GetId() != msg.GameFreeId {
|
||||
continue
|
||||
}
|
||||
}
|
||||
if msg.ChannelId != "" {
|
||||
if p.ChannelId != msg.ChannelId {
|
||||
continue
|
||||
}
|
||||
}
|
||||
if msg.GameFreeId > 0 {
|
||||
if p.scene == nil || p.scene.GetGameFreeId() != msg.GameFreeId {
|
||||
continue
|
||||
}
|
||||
}
|
||||
if msg.GameId > 0 {
|
||||
if p.scene == nil || p.scene.gameId != int(msg.GameId) {
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
if msg.Platform != DefaultPlatform && msg.Platform != "" {
|
||||
if p.Platform != msg.Platform {
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
if msg.Channel != "" && p.Channel != msg.Channel {
|
||||
if platform != DefaultPlatform && p.Platform != platform {
|
||||
continue
|
||||
}
|
||||
if channel != "" && p.Channel != channel {
|
||||
continue
|
||||
}
|
||||
|
||||
players = append(players, p)
|
||||
}
|
||||
// 排序
|
||||
|
|
Loading…
Reference in New Issue