diff --git a/upstream/itao/itao_order.go b/upstream/itao/itao_order.go index 9a89fd46a76835fe66138be11557322bd9566695..484ba013d41d5ca9a3cf471511f2f3f1922299f3 100644 --- a/upstream/itao/itao_order.go +++ b/upstream/itao/itao_order.go @@ -221,7 +221,7 @@ type OrderDetailRes struct { ItemInfo struct { ItemId string `json:"itemId"` Pic string `json:"pic"` - Price string `json:"price"` + Price uint `json:"price"` SkuId string `json:"skuId"` SkuInfoList []struct { Name string `json:"name"` @@ -229,25 +229,25 @@ type OrderDetailRes struct { } `json:"skuInfoList"` Title string `json:"title"` } `json:"itemInfo"` - LogisticsOrderId int64 `json:"logisticsOrderId"` - LogisticsStatus int `json:"logisticsStatus"` - Main int `json:"main"` - ParentId int64 `json:"parentId"` - PayFee float64 `json:"payFee"` - PayOrderId int64 `json:"payOrderId"` - PayStatus int `json:"payStatus"` - PayTime string `json:"payTime"` - PostFee float64 `json:"postFee"` - RefundStatus int `json:"refundStatus"` - SellerToken string `json:"sellerToken"` - Status int `json:"status"` + LogisticsOrderId int64 `json:"logisticsOrderId"` + LogisticsStatus int `json:"logisticsStatus"` + Main int `json:"main"` + ParentId int64 `json:"parentId"` + PayFee uint `json:"payFee"` + PayOrderId int64 `json:"payOrderId"` + PayStatus int `json:"payStatus"` + PayTime string `json:"payTime"` + PostFee uint `json:"postFee"` + RefundStatus int `json:"refundStatus"` + SellerToken string `json:"sellerToken"` + Status int `json:"status"` } `json:"detailOrderList"` EndTime string `json:"endTime"` GmtCreate string `json:"gmtCreate"` ItemInfo struct { ItemId string `json:"itemId"` Pic string `json:"pic"` - Price string `json:"price"` + Price uint `json:"price"` SkuId string `json:"skuId"` SkuInfoList []struct { Name string `json:"name"` @@ -264,11 +264,11 @@ type OrderDetailRes struct { //5 - 部分收货 -> 交易æˆåŠŸ //6 - 部分å‘è´§ä¸ //8 - 还未创建物æµè®¢å• - Main int `json:"main"` - ParentId int64 `json:"parentId"` - PayFee float64 `json:"payFee"` - PayOrderId int64 `json:"payOrderId"` - PayStatus int `json:"payStatus"` + Main int `json:"main"` + ParentId int64 `json:"parentId"` + PayFee uint `json:"payFee"` + PayOrderId int64 `json:"payOrderId"` + PayStatus int `json:"payStatus"` //1 - 未冻结/未付款 -> ç‰å¾…买家付款 //2 - 已冻结/已付款 -> ç‰å¾…å–å®¶å‘è´§ //4 - 已退款 -> äº¤æ˜“å…³é— @@ -276,11 +276,11 @@ type OrderDetailRes struct { //7 - 没有创建外部交易 //8 - äº¤æ˜“è¢«å…³é— //9 - ä¸å¯ä»˜æ¬¾ - PayTime string `json:"payTime"` - PostFee float64 `json:"postFee"` - RefundStatus int `json:"refundStatus"` - SellerToken string `json:"sellerToken"` - Status int `json:"status"` + PayTime string `json:"payTime"` + PostFee uint `json:"postFee"` + RefundStatus int `json:"refundStatus"` + SellerToken string `json:"sellerToken"` + Status int `json:"status"` } `json:"result"` Success bool `json:"success"` ErrMsg string `json:"errMsg"` @@ -328,10 +328,10 @@ type OrderReflectRes struct { LogisticsStatus int `json:"logisticsStatus"` Main int `json:"main"` ParentId int64 `json:"parentId"` - PayFee int `json:"payFee"` + PayFee uint `json:"payFee"` PayOrderId int64 `json:"payOrderId"` PayStatus int `json:"payStatus"` - PostFee int `json:"postFee"` + PostFee uint `json:"postFee"` RefundStatus int `json:"refundStatus"` SellerToken string `json:"sellerToken"` Status int `json:"status"` @@ -349,10 +349,10 @@ type OrderReflectRes struct { LogisticsStatus int `json:"logisticsStatus"` Main int `json:"main"` ParentId string `json:"parentId"` - PayFee int `json:"payFee"` + PayFee uint `json:"payFee"` PayOrderId string `json:"payOrderId"` PayStatus int `json:"payStatus"` - PostFee int `json:"postFee"` + PostFee uint `json:"postFee"` RefundStatus int `json:"refundStatus"` SellerToken string `json:"sellerToken"` Status int `json:"status"`