suningnetallianceunioninfomationget

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 GetUnionInfomation

type GetUnionInfomation struct {
	UpdateDate          string  `json:"updateDate"`
	ThirdCategoryCode   string  `json:"thirdCategoryCode"`
	PromoDesc           string  `json:"promoDesc"`
	FourthCategoryCode  string  `json:"fourthCategoryCode"`
	CategoryName        string  `json:"categoryName"`
	SuningPrice         int64   `json:"suningPrice"`
	FirstCategoryName   string  `json:"firstCategoryName"`
	Rate                float64 `json:"rate"`
	OperatingModel      int64   `json:"operatingModel"`
	Price               int64   `json:"price"`
	GoodsName           string  `json:"goodsName"`
	BrandCode           string  `json:"brandCode"`
	SecondCategoryCode  string  `json:"secondCategoryCode"`
	WAPPrePayCommission float64 `json:"wapPrePayCommission"`
	MertCode            string  `json:"mertCode"`
	PictureURL          string  `json:"pictureUrl"`
	CmmdtyEanCode       string  `json:"cmmdtyEanCode"`
	ThirdCategoryName   string  `json:"thirdCategoryName"`
	VendorName          string  `json:"vendorName"`
	FourthCategoryName  string  `json:"fourthCategoryName"`
	PrePayCommission    float64 `json:"prePayCommission"`
	FirstCategoryCode   string  `json:"firstCategoryCode"`
	SecondCategoryName  string  `json:"secondCategoryName"`
	WAPRate             float64 `json:"wapRate"`
	GoodsCode           string  `json:"goodsCode"`
	UpStatus            string  `json:"upStatus"`
	ProductURL          string  `json:"productUrl"`
	ProductURLWAP       string  `json:"productUrlWap"`
}

type Response

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

suning.netalliance.unioninfomation.get 单个查询联盟商品信息

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

解析输出结果

type SnBody

type SnBody struct {
	GetUnionInfomation []GetUnionInfomation `json:"getUnionInfomation"`
}

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