diff --git a/model/supplier_response.go b/model/supplier_response.go index c0e193d..36f9666 100644 --- a/model/supplier_response.go +++ b/model/supplier_response.go @@ -2,13 +2,13 @@ package model // ResponseSupplierInfo ... type ResponseSupplierInfo struct { - ID string `json:"id"` - Name string `json:"name"` - BusinessType string `json:"businessType"` - Statistic *SupplierStatistic `json:"statistic"` - Rating float64 `json:"rating"` - Inventories *SKUCommonInfo `json:"inventories"` - Active bool `json:"active"` + ID string `json:"id"` + Name string `json:"name"` + BusinessType string `json:"businessType"` + Statistic SupplierStatistic `json:"statistic"` + Rating float64 `json:"rating"` + Inventories []*SKUCommonInfo `json:"inventories"` + Active bool `json:"active"` } // SupplierStatistic ...