|
|
@@ -1,6 +1,8 @@
|
|
|
package response
|
|
|
|
|
|
-import "time"
|
|
|
+import (
|
|
|
+ "time"
|
|
|
+)
|
|
|
|
|
|
type GetGameTaskListReply struct {
|
|
|
TaskId int `json:"task_id"`
|
|
|
@@ -47,29 +49,29 @@ type GetGameTaskListUnionReply struct {
|
|
|
}
|
|
|
|
|
|
type GetGameTargetComplete struct {
|
|
|
- Id uint `json:"id"`
|
|
|
- TaskId int `json:"task_id"`
|
|
|
- TaskName string `json:"task_name"`
|
|
|
- User string `json:"user"`
|
|
|
- LoginMethod string `json:"login_method"`
|
|
|
- NewComplete int `json:"new_complete"`
|
|
|
- PayComplete int `json:"pay_complete"`
|
|
|
- RetainedComplete int `json:"retained_complete"`
|
|
|
- NewTarget int `json:"new_target"`
|
|
|
- PayTarget int `json:"pay_target"`
|
|
|
- RetainedTarget int `json:"retained_target"`
|
|
|
- Amount int `json:"amount"`
|
|
|
- CreateDate string `json:"create_date"`
|
|
|
- UpdateTime string `json:"update_time"` // 更新时间
|
|
|
- GameRate string `json:"game_rate"`
|
|
|
- IsComplete int `json:"is_complete"`
|
|
|
- HandNewComplete int `json:"hand_new_complete"`
|
|
|
- HandRetainedComplete int `json:"hand_retained_complete"`
|
|
|
- HandPayComplete int `json:"hand_pay_complete"`
|
|
|
- HandAmountTotal int `json:"hand_amount_total"`
|
|
|
- GameIdXmy string `json:"game_id_xmy"`
|
|
|
- Aupr int `json:"aupr"`
|
|
|
- TotalAmount float64 `json:"total_amount"`
|
|
|
+ Id uint `json:"id"`
|
|
|
+ TaskId int `json:"task_id"`
|
|
|
+ TaskName string `json:"task_name"`
|
|
|
+ User string `json:"user"`
|
|
|
+ LoginMethod string `json:"login_method"`
|
|
|
+ NewComplete int `json:"new_complete"`
|
|
|
+ PayComplete int `json:"pay_complete"`
|
|
|
+ RetainedComplete int `json:"retained_complete"`
|
|
|
+ NewTarget int `json:"new_target"`
|
|
|
+ PayTarget int `json:"pay_target"`
|
|
|
+ RetainedTarget int `json:"retained_target"`
|
|
|
+ Amount int `json:"amount"`
|
|
|
+ CreateDate string `json:"create_date"`
|
|
|
+ UpdateTime string `json:"update_time"` // 更新时间
|
|
|
+ GameRate string `json:"game_rate"`
|
|
|
+ IsComplete int `json:"is_complete"`
|
|
|
+ HandNewComplete int `json:"hand_new_complete"`
|
|
|
+ HandRetainedComplete int `json:"hand_retained_complete"`
|
|
|
+ HandPayComplete int `json:"hand_pay_complete"`
|
|
|
+ HandAmountTotal int `json:"hand_amount_total"`
|
|
|
+ GameIdXmy string `json:"game_id_xmy"`
|
|
|
+ Aupr int `json:"aupr"`
|
|
|
+ TotalAmount float64 `json:"total_amount"`
|
|
|
}
|
|
|
|
|
|
type GameTargetStatistics struct {
|
|
|
@@ -122,3 +124,28 @@ type GameStatisticsListReply struct {
|
|
|
CreateDate string `json:"create_date"`
|
|
|
GameName string `json:"game_name"`
|
|
|
}
|
|
|
+
|
|
|
+//小绵羊接口返回数据
|
|
|
+type XmyGameDataReply struct {
|
|
|
+ Data XmyGameList `json:"data"`
|
|
|
+ Status bool `json:"status"`
|
|
|
+ Msg string `json:"msg"`
|
|
|
+}
|
|
|
+
|
|
|
+//小绵羊数据列表
|
|
|
+type XmyGameList struct {
|
|
|
+ StartDay string `json:"start_day"`
|
|
|
+ EndDay string `json:"end_day"`
|
|
|
+ List []XmyGameResponse `json:"list"`
|
|
|
+}
|
|
|
+
|
|
|
+//小绵羊数据
|
|
|
+type XmyGameResponse struct {
|
|
|
+ ActiveUserNum string `json:"active_user_num"`
|
|
|
+ GameId string `json:"game_id"`
|
|
|
+ Date string `json:"date"`
|
|
|
+ UserNum string `json:"user_num"`
|
|
|
+ Amount string `json:"amount"` //付费金额
|
|
|
+ Cnt string `json:"cnt"`
|
|
|
+ Name string `json:"name"`
|
|
|
+}
|