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"`
}
