package control

type WslReply struct {
	GameId string `json:"gameid"`
	Money  string `json:"money"`
}

//{"active_user_num":"13","game_id":"1000680","date":"2022-12-12","amount":"0","cnt":"0","user_num":"0","name":"\u5e7b\u5854\u9177\u6d3e"}
type XmyCommonReply struct {
	Status bool   `json:"status"`
	Msg    string `json:"msg"`
}

type XmyPayRequestReplyData struct {
	ActiveUserNum string `json:"active_user_num"`
	GameId        string `json:"game_id"`
	Amount        string `json:"amount"`
	Cnt           string `json:"cnt"`
	UserNum       string `json:"user_num"`
}

type XmyReply struct {
	XmyCommonReply
	Data struct {
		List []XmyPayRequestReplyData `json:"list"`
	}
}

type XmyFree struct {
	Amount string `json:"amount"`
	UseNum string `json:"use_num"`
	Num    string `json:"num"`
}

type XmyFreeReply struct {
	Code int       `json:"code"`
	Msg  string    `json:"msg"`
	Data []XmyFree `json:"data"`
}

type TargetStatisticsReply struct {
	GameName       string `json:"game_name"`
	GameId         string `json:"game_id"`
	GameDirector   string `json:"game_director"`
	TargetNew      int    `json:"target_new"`
	TargetPay      int    `json:"target_pay"`
	TargetActive   int    `json:"target_active"`
	CompleteNew    int    `json:"complete_new"`
	CompletePay    int    `json:"complete_pay"`
	CompleteActive int    `json:"complete_active"`
	GamePort       string `json:"game_agent"`
	Date           string
	TaskId         string `json:"task_id"`
	LoginMode      string `json:"login_mode"`
	XmyId          string `json:"xmy_id"`
	TaskName       string `json:"task_name"`
	MeiZuGameId    string `json:"mz_id"`
	MeiZuChannel   string `json:"mz_channel"`
	QqId           string `json:"qq_id"`
	QqChannel      string `json:"qq_channel"`
}

type ResponseTargetInfo struct {
	Code    int                      `json:"code"`
	Message string                   `json:"message"`
	Date    string                   `json:"date"`
	Data    []*TargetStatisticsReply `json:"data"`
}

type GetTargetStatisticsReply struct {
	Id                   uint   `json:"id"`
	TaskId               string `json:"task_id"`
	TaskName             string `json:"task_name"`
	User                 string `json:"user"`
	LoginMethod          int    `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"`
	TxChannel            string `json:"tx_channel"`
	TxGameId             string `json:"tx_game_id"`
	MzChannel            string `json:"mz_channel"`
	MzGameId             string `json:"mz_game_id"`
	GameIdXmy            string `json:"game_id_xmy"`
	GamePortId           int    `json:"game_port_id"`
	GameName             string `json:"game_name"`
	GameId               string `json:"game_id"`
	HandNewComplete      int    `json:"hand_new_complete"`
	HandRetainedComplete int    `json:"hand_retained_complete"`
	HandPayComplete      int    `json:"hand_pay_complete"`
	HandAmountTotal      int    `json:"hand_amount_total"`
}
