feat: integrate OA activation workflows and business migration
This commit is contained in:
@@ -9,19 +9,22 @@ type ActivationQuery struct {
|
||||
BusierAccount string `form:"busierAccount"`
|
||||
}
|
||||
type ActivationResponse struct {
|
||||
ID uint64 `json:"id,string"`
|
||||
PromoteAccount string `json:"promoteAccount"`
|
||||
PlatformName string `json:"platformName"`
|
||||
PlatformTitle string `json:"platformTitle"`
|
||||
BusierAccount string `json:"busierAccount"`
|
||||
ApplicantOA string `json:"applicantOa"`
|
||||
BindAt *string `json:"bindAt"`
|
||||
UnbindAt *string `json:"unbindAt"`
|
||||
ReachAt *string `json:"reachAt"`
|
||||
EndAt *string `json:"endAt"`
|
||||
AccumAmount string `json:"accumAmount"`
|
||||
Status string `json:"status"`
|
||||
StatusText string `json:"statusText"`
|
||||
CreatedAt *string `json:"createdAt"`
|
||||
RegisteredPlayers *int64 `json:"registeredPlayers"`
|
||||
MetricsAvailable bool `json:"metricsAvailable"`
|
||||
ID uint64 `json:"id,string"`
|
||||
PromoteAccount string `json:"promoteAccount"`
|
||||
PlatformName string `json:"platformName"`
|
||||
PlatformTitle string `json:"platformTitle"`
|
||||
BusierAccount string `json:"busierAccount"`
|
||||
ApplicantOA string `json:"applicantOa"`
|
||||
BindAt *string `json:"bindAt"`
|
||||
UnbindAt *string `json:"unbindAt"`
|
||||
ReachAt *string `json:"reachAt"`
|
||||
EndAt *string `json:"endAt"`
|
||||
AccumAmount string `json:"accumAmount"`
|
||||
Status string `json:"status"`
|
||||
StatusText string `json:"statusText"`
|
||||
}
|
||||
type ActivationPage struct {
|
||||
Rows []*ActivationResponse `json:"rows"`
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
package dto
|
||||
|
||||
type ActivationPoolQuery struct {
|
||||
Page int `form:"pageNum"`
|
||||
PageSize int `form:"pageSize"`
|
||||
Sources []string `form:"platformNames"`
|
||||
Name string `form:"promoteAccount"`
|
||||
ChannelType string `form:"channelType"`
|
||||
Status string `form:"status"`
|
||||
Target string `form:"target"`
|
||||
Begin string `form:"begin"`
|
||||
End string `form:"end"`
|
||||
}
|
||||
type ActivationPoolRow struct {
|
||||
ID uint64 `json:"id,string"`
|
||||
SourceDB string `json:"sourceDb"`
|
||||
PlatformTitle string `json:"platformTitle"`
|
||||
Name string `json:"name"`
|
||||
ChannelType string `json:"channelType"`
|
||||
Status string `json:"status"`
|
||||
NoLoginDays *int64 `json:"noLoginDays"`
|
||||
Rejected bool `json:"rejected"`
|
||||
RejectReason string `json:"rejectReason"`
|
||||
RejectedAt *string `json:"rejectedAt"`
|
||||
}
|
||||
type ActivationPoolPage struct {
|
||||
Rows []*ActivationPoolRow `json:"rows"`
|
||||
Total int64 `json:"total"`
|
||||
Available bool `json:"available"`
|
||||
}
|
||||
type ActivationBindingOption struct {
|
||||
ID uint64 `json:"id,string"`
|
||||
SourceDB string `json:"sourceDb"`
|
||||
Account string `json:"account"`
|
||||
Level int `json:"level"`
|
||||
}
|
||||
type ActivationApplyRequest struct {
|
||||
PoolID uint64 `json:"poolId,string"`
|
||||
BusierID uint64 `json:"busierId,string"`
|
||||
SourceDB string `json:"sourceDb"`
|
||||
}
|
||||
type ActivationChurnRow struct {
|
||||
ID uint64 `json:"id,string"`
|
||||
SourceDB string `json:"sourceDb"`
|
||||
PlatformTitle string `json:"platformTitle"`
|
||||
Name string `json:"name"`
|
||||
From string `json:"from"`
|
||||
To string `json:"to"`
|
||||
Reason string `json:"reason"`
|
||||
Operator string `json:"operator"`
|
||||
At string `json:"at"`
|
||||
ToPool bool `json:"toPool"`
|
||||
}
|
||||
type ActivationChurnPage struct {
|
||||
Rows []*ActivationChurnRow `json:"rows"`
|
||||
Total int64 `json:"total"`
|
||||
Available bool `json:"available"`
|
||||
}
|
||||
Reference in New Issue
Block a user