tbkprivilegeget

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 Data

type Data struct {
	CategoryID          int64          `json:"category_id"`
	CouponClickURL      string         `json:"coupon_click_url"`
	CouponEndTime       string         `json:"coupon_end_time"`
	CouponInfo          string         `json:"coupon_info"`
	CouponRemainCount   int64          `json:"coupon_remain_count"`
	CouponStartTime     string         `json:"coupon_start_time"`
	CouponTotalCount    int64          `json:"coupon_total_count"`
	CouponType          int64          `json:"coupon_type"`
	ItemID              interface{}    `json:"item_id"`
	ItemURL             string         `json:"item_url"`
	MaxCommissionRate   string         `json:"max_commission_rate"`
	YsylClickUrl        string         `json:"ysyl_click_url"`
	YsylTljFace         string         `json:"ysyl_tlj_face"`
	YsylTljSendTime     string         `json:"ysyl_tlj_send_time"`
	YsylCommissionRate  string         `json:"ysyl_commission_rate"`
	YsylTljUseStartTime string         `json:"ysyl_tlj_use_start_time"`
	YsylTljUseEndTime   string         `json:"ysyl_tlj_use_end_time"`
	MinCommissionRate   string         `json:"min_commission_rate"`
	RewardInfo          int64          `json:"reward_info"`
	TopnInfo            TopnInfo       `json:"topn_info"`
	MiniProgram         MiniProgramDto `json:"mini_program"`
}

type MiniProgramDto

type MiniProgramDto struct {
	MiniProgramAppid     string `json:"mini_program_appid"`
	MiniProgramPath      string `json:"mini_program_path"`
	MiniProgramQrcodeUrl string `json:"mini_program_qrcode_url"`
}

type Response

type Response struct {
	response.TopResponse
	TbkPrivilegeGetResult Result `json:"tbk_privilege_get_response"`
}

淘宝客商品详情查询(简版) 免费 不需要授权

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

解析输出结果

type Result

type Result struct {
	Result    ResultData `json:"result"`
	RequestID string     `json:"request_id"`
}

type ResultData

type ResultData struct {
	Data Data `json:"data"`
}

type TopnInfo

type TopnInfo struct {
	TopnEndTime    int64 `json:"topn_end_time"`
	TopnQuantity   int64 `json:"topn_quantity"`
	TopnStartTime  int64 `json:"topn_start_time"`
	TopnTotalCount int64 `json:"topn_total_count"`
}

Jump to

Keyboard shortcuts

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