product_batchCreatePrettifyPic_request

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2022 License: MulanPSL-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 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 (*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 (*ProductBatchCreatePrettifyPicRequest) GetUrlPath

Jump to

Keyboard shortcuts

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