|
|
@ -10,19 +10,12 @@ type GetFeeRequest struct {
|
|
|
|
ApiFreightFeeParam ApiFreightFeeParam `json:"apiFreightFeeParam"`
|
|
|
|
ApiFreightFeeParam ApiFreightFeeParam `json:"apiFreightFeeParam"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SkuInfo struct {
|
|
|
|
|
|
|
|
SkuPrice float64 `json:"skuPrice"`
|
|
|
|
|
|
|
|
SkuID string `json:"skuId"`
|
|
|
|
|
|
|
|
SkuName string `json:"skuName"`
|
|
|
|
|
|
|
|
Quantity uint `json:"quantity"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ApiFreightFeeParam struct {
|
|
|
|
type ApiFreightFeeParam struct {
|
|
|
|
Address rest.Address `json:"address"`
|
|
|
|
Address rest.Address `json:"address"`
|
|
|
|
Pin string `json:"pin"`
|
|
|
|
Pin string `json:"pin"`
|
|
|
|
PaymentType uint `json:"paymentType"`
|
|
|
|
PaymentType uint `json:"paymentType"`
|
|
|
|
OrderFee float64 `json:"orderFee"`
|
|
|
|
OrderFee float64 `json:"orderFee"`
|
|
|
|
SkuList []SkuInfo `json:"skuList"`
|
|
|
|
SkuList []rest.SkuParam `json:"skuList"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (o GetFeeRequest) GetApiName() string {
|
|
|
|
func (o GetFeeRequest) GetApiName() string {
|
|
|
|