suningnetalliancemorerecommendget

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommodityList

type CommodityList struct {
	IsReserveCommodity   int64       `json:"isReserveCommodity"`
	CommodityName        string      `json:"commodityName"`
	CommodityCode        string      `json:"commodityCode"`
	SupplierCode         string      `json:"supplierCode"`
	ImgVersion           string      `json:"imgVersion"`
	IsOwnCommodity       bool        `json:"isOwnCommodity"`
	CommodityType        int64       `json:"commodityType"`
	Baoyou               int64       `json:"baoyou"`
	SellingPoint         string      `json:"sellingPoint"`
	MonthlySales         int64       `json:"monthlySales"`
	OriginRate           string      `json:"originRate"`
	OriginCommission     string      `json:"originCommission"`
	CommodityPrice       string      `json:"commodityPrice"`
	CommissionPrice      string      `json:"commissionPrice"`
	CommissionRate       string      `json:"commissionRate"`
	SnPrice              string      `json:"snPrice"`
	PriceType            string      `json:"priceType"`
	PriceTypeCode        int64       `json:"priceTypeCode"`
	PGPrice              interface{} `json:"pgPrice"`
	PGActionID           interface{} `json:"pgActionId"`
	PGNum                interface{} `json:"pgNum"`
	CommodityPriceFlag   string      `json:"commodityPriceFlag"`
	SaleStatus           int64       `json:"saleStatus"`
	NoConponCommision    interface{} `json:"noConponCommision"`
	RebateCommissionRate string      `json:"rebateCommissionRate"`
	OrderActivity        interface{} `json:"orderActivity"`
	CouponAmount         interface{} `json:"couponAmount"`
	CouponSpecialPrice   interface{} `json:"couponSpecialPrice"`
	CouponActiveID       string      `json:"couponActiveId"`
	ActivitySecretKey    string      `json:"activitySecretKey"`
	CouponPrice          interface{} `json:"couponPrice"`
	MinOrderQuantity     string      `json:"minOrderQuantity"`
	PicList              []PicList   `json:"picList"`
	ProductURL           string      `json:"productUrl"`
}

type GetMorerecommend

type GetMorerecommend struct {
	CommodityList []CommodityList `json:"commodityList"`
}

type PicList

type PicList struct {
	CmmdtyURL string `json:"cmmdtyUrl"`
}

type Response

type Response struct {
	response2.TopResponse
	SnResponseContent SnResponseContent `json:"sn_responseContent"`
}

suning.netalliance.morerecommend.get 关联商品推荐接口

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

解析输出结果

type SnBody

type SnBody struct {
	GetMorerecommend GetMorerecommend `json:"getMorerecommend"`
}

type SnError

type SnError struct {
	ErrorMsg  string `json:"error_msg"`
	ErrorCode string `json:"error_code"`
}

type SnResponseContent

type SnResponseContent struct {
	SnBody  SnBody   `json:"sn_body"`
	SnError *SnError `json:"sn_error"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL