Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageEnhanceData ¶
type ImageEnhanceData struct { /** * 图片二进制 Base64编码 */ Content string `json:"content"` }
type ImageEnhanceRequest ¶
type ImageEnhanceRequest struct { /** * 图片二进制流,使用Base64编码 图片格式:JPG(JPEG),PNG 图片像素尺寸:最小48*48像素,最大4096*4096像素 图片文件大小:最大 5MB */ Content string `json:"content"` }
func (*ImageEnhanceRequest) DoInvoke ¶
func (req *ImageEnhanceRequest) DoInvoke(client mtclient.MeituanClient) (*ImageEnhanceResponse, error)
type ImageEnhanceResponse ¶
type ImageEnhanceResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data ImageEnhanceData `json:"data"` TraceId string `json:"traceId"` }
func (*ImageEnhanceResponse) IsSuccess ¶
func (response *ImageEnhanceResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.