feat: 迁移区服分析与游戏区服查询

This commit is contained in:
Yvan
2026-11-04 01:16:23 +08:00
parent fc27120950
commit 0bef29ae4f
27 changed files with 1113 additions and 6 deletions
+44
View File
@@ -0,0 +1,44 @@
package dto
type ServerAnalysisQuery struct {
Page int `form:"pageNum"`
PageSize int `form:"pageSize"`
Sources []string `form:"sourceDb"`
GameNames []string `form:"gameName"`
ServerNum string `form:"serverNum"`
BeginTime string `form:"beginTime"`
EndTime string `form:"endTime"`
SortField string `form:"sortField"`
SortOrder string `form:"sortOrder"`
}
type ServerOptionQuery struct {
Sources []string `form:"sourceDb"`
GameNames []string `form:"gameName"`
Keyword string `form:"keyword"`
Limit int `form:"limit"`
}
type ServerOptionResponse struct {
Number string `json:"serverNum"`
Name string `json:"serverName"`
OpenTime *int64 `json:"openTime"`
}
type ServerAnalysisRow struct {
SourceDB string `json:"sourceDb"`
SourceDBLabel string `json:"sourceDbLabel"`
GameID *int64 `json:"gameId"`
GameName string `json:"gameName"`
ServerOptionResponse
Register int64 `json:"newRegisterCount"`
Active int64 `json:"activeCount"`
PayUsers int64 `json:"payUserCount"`
Pay string `json:"totalPay"`
ARPU string `json:"arpu"`
}
type ServerAnalysisPage struct {
Rows []*ServerAnalysisRow `json:"rows"`
Total int64 `json:"total"`
Summary *ServerAnalysisRow `json:"summary"`
Begin string `json:"beginTime"`
End string `json:"endTime"`
Available bool `json:"available"`
}