新增和平小店兑换记录查询
This commit is contained in:
@@ -119,6 +119,23 @@ type VerifyAllExchangeResult struct {
|
||||
Results map[string]AccountExchangeResult `json:"results"`
|
||||
}
|
||||
|
||||
// XiaodianExchangeAccountResult 是单个账号的和平小店兑换记录查询结果。
|
||||
type XiaodianExchangeAccountResult struct {
|
||||
Success bool `json:"success"`
|
||||
Records []XiaodianExchangeRecord `json:"records,omitempty"`
|
||||
Matched bool `json:"matched"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
// XiaodianExchangeRecordsResult 是批量查询和平小店兑换记录的结果。
|
||||
type XiaodianExchangeRecordsResult struct {
|
||||
Success bool `json:"success"`
|
||||
ProductID string `json:"productId"`
|
||||
ProductName string `json:"productName"`
|
||||
Results map[string]XiaodianExchangeAccountResult `json:"results"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
// ExportAccountsResult 导出账号结果。
|
||||
type ExportAccountsResult struct {
|
||||
Success bool `json:"success"`
|
||||
|
||||
@@ -223,3 +223,13 @@ type ExchangeRecord struct {
|
||||
Time string `json:"time"`
|
||||
Score string `json:"score"`
|
||||
}
|
||||
|
||||
// XiaodianExchangeRecord 是和平小店订单记录,商品明细来自 sGoodsInfo.list。
|
||||
type XiaodianExchangeRecord struct {
|
||||
CommodityID string `json:"commodityId"`
|
||||
CommodityName string `json:"commodityName"`
|
||||
Quantity int `json:"quantity"`
|
||||
BuyTime string `json:"buyTime"`
|
||||
PayTime string `json:"payTime"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user