alibabaalscunionelemepromotionstorepromotionquery

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	PageSize  int64   `json:"page_size"`
	Records   Records `json:"records"`
	SessionID string  `json:"session_id"`
}
type Link struct {
	WxAppid string `json:"wx_appid"`
	WxPath  string `json:"wx_path"`
}

type Records

type Records struct {
	StorePromotionDto []StorePromotionDto `json:"store_promotion_dto"`
}

type Response

type Response struct {
	response.TopResponse
	ResultResponse ResultResponse `json:"alibaba_alsc_union_eleme_promotion_storepromotion_query_response"`
}

Response alibaba.alsc.union.eleme.promotion.storepromotion.query( 本地联盟饿了么单店推广店铺列表 )

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

WrapResult 解析输出结果

type ResultResponse

type ResultResponse struct {
	BizErrorDesc string `json:"biz_error_desc"`
	BizErrorCode int    `json:"biz_error_code"`
	RequestID    string `json:"request_id"`
	Data         Data   `json:"data"`
	Message      string `json:"message"`
	ResultCode   int64  `json:"result_code"`
}

ResultResponse 响应结果

func (ResultResponse) Error

func (rr ResultResponse) Error() string

func (ResultResponse) IsError

func (rr ResultResponse) IsError() bool

type StorePromotionDto

type StorePromotionDto struct {
	BizType                string `json:"biz_type"`
	Commission             int64  `json:"commission"`
	CommissionRate         string `json:"commission_rate"`
	IndistinctMonthlySales string `json:"indistinct_monthly_sales"`
	Link                   Link   `json:"link"`
	ShopID                 string `json:"shop_id"`
	Title                  string `json:"title"`
}

Jump to

Keyboard shortcuts

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