Documentation ¶
Index ¶
- type BuyinBindChannelProductParam
- type BuyinBindChannelProductRequest
- func (c *BuyinBindChannelProductRequest) Execute(accessToken *doudian_sdk.AccessToken) (*buyin_bindChannelProduct_response.BuyinBindChannelProductResponse, error)
- func (c *BuyinBindChannelProductRequest) GetParamObject() interface{}
- func (c *BuyinBindChannelProductRequest) GetParams() *BuyinBindChannelProductParam
- func (c *BuyinBindChannelProductRequest) GetUrlPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuyinBindChannelProductParam ¶
type BuyinBindChannelProductParam struct { // 商品ID ProductId int64 `json:"product_id"` // 渠道ID ChannelId int64 `json:"channel_id"` // 渠道类型:1: 店铺自卖,2:达人带货 ChannelType int32 `json:"channel_type"` // 是否指定全部达人/全部店播达人 IsAll *bool `json:"is_all"` // 需要绑定的达人uid 指定特定达人(is_all参数为false)时,该参数生效 AuthorIds []int64 `json:"author_ids"` // 需要绑定的达人百应Id 指定特定达人(is_all参数为false)时,该参数生效 BuyinIds []int64 `json:"buyin_ids"` }
type BuyinBindChannelProductRequest ¶
type BuyinBindChannelProductRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *BuyinBindChannelProductParam }
func New ¶
func New() *BuyinBindChannelProductRequest
func (*BuyinBindChannelProductRequest) Execute ¶
func (c *BuyinBindChannelProductRequest) Execute(accessToken *doudian_sdk.AccessToken) (*buyin_bindChannelProduct_response.BuyinBindChannelProductResponse, error)
func (*BuyinBindChannelProductRequest) GetParamObject ¶
func (c *BuyinBindChannelProductRequest) GetParamObject() interface{}
func (*BuyinBindChannelProductRequest) GetParams ¶
func (c *BuyinBindChannelProductRequest) GetParams() *BuyinBindChannelProductParam
func (*BuyinBindChannelProductRequest) GetUrlPath ¶
func (c *BuyinBindChannelProductRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.