This commit is contained in:
suyl
2021-06-21 18:58:57 +08:00
parent 8ce4c93c5f
commit fbb0e8a840
7 changed files with 54 additions and 42 deletions

View File

@@ -96,9 +96,11 @@ const (
)
type RefundSku struct {
AppFoodCode string `json:"app_food_code"`
SkuID string `json:"sku_id,omitempty"`
Count int `json:"count"`
AppFoodCode string `json:"app_food_code"`
SkuID string `json:"sku_id,omitempty"`
Count int `json:"count"`
ItemID string `json:"item_id,omitempty"`
ActualWeight float64 `json:"actual_weight,omitempty"`
}
type RefundSkuDetail struct {

View File

@@ -97,7 +97,7 @@ func TestOrderGetRiderInfoPhoneNumber(t *testing.T) {
}
func TestGetOrderRefundDetail(t *testing.T) {
result, err := api.GetOrderRefundDetail(115082650031169457, 0)
result, err := api.GetOrderRefundDetail(70263190513673732, 0)
if err != nil {
t.Fatal(err)
}