Documentation ¶
Index ¶
- type PrettifyPicDataListItem
- type PrettifyPicDataText
- type ProductBatchCreatePrettifyPicParam
- type ProductBatchCreatePrettifyPicRequest
- func (c *ProductBatchCreatePrettifyPicRequest) Execute(accessToken *doudian_sdk.AccessToken) (*product_batchCreatePrettifyPic_response.ProductBatchCreatePrettifyPicResponse, ...)
- func (c *ProductBatchCreatePrettifyPicRequest) GetParamObject() interface{}
- func (c *ProductBatchCreatePrettifyPicRequest) GetParams() *ProductBatchCreatePrettifyPicParam
- func (c *ProductBatchCreatePrettifyPicRequest) GetUrlPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrettifyPicDataListItem ¶
type PrettifyPicDataListItem struct { // 要转换的组件类型 目前可选:text 后续会推出其他类型的支持组件 Name string `json:"name"` // 当name=text时有效 PrettifyPicDataText *PrettifyPicDataText `json:"prettify_pic_data_text"` }
type PrettifyPicDataText ¶
type PrettifyPicDataText struct { // 文案内容 不可以超过5000字 Text string `json:"text"` // 非必填。背景色 BackgroundColor string `json:"background_color"` // 非必填。字颜色 FontColor string `json:"font_color"` // 非必填。字号大小,在13~20之间 FontSize int64 `json:"font_size"` // 非必填。可选left、right、center;默认left TextAlign string `json:"text_align"` }
type ProductBatchCreatePrettifyPicParam ¶
type ProductBatchCreatePrettifyPicParam struct { // 数组 用于批量构建图片。每批需要小于5 PrettifyPicDataList []PrettifyPicDataListItem `json:"prettify_pic_data_list"` }
type ProductBatchCreatePrettifyPicRequest ¶
type ProductBatchCreatePrettifyPicRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *ProductBatchCreatePrettifyPicParam }
func New ¶
func New() *ProductBatchCreatePrettifyPicRequest
func (*ProductBatchCreatePrettifyPicRequest) Execute ¶
func (c *ProductBatchCreatePrettifyPicRequest) Execute(accessToken *doudian_sdk.AccessToken) (*product_batchCreatePrettifyPic_response.ProductBatchCreatePrettifyPicResponse, error)
func (*ProductBatchCreatePrettifyPicRequest) GetParamObject ¶
func (c *ProductBatchCreatePrettifyPicRequest) GetParamObject() interface{}
func (*ProductBatchCreatePrettifyPicRequest) GetParams ¶
func (c *ProductBatchCreatePrettifyPicRequest) GetParams() *ProductBatchCreatePrettifyPicParam
func (*ProductBatchCreatePrettifyPicRequest) GetUrlPath ¶
func (c *ProductBatchCreatePrettifyPicRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.