Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageUploadRequest ¶
type ImageUploadRequest struct { /** * 图片名称 */ ImgName string `json:"img_name"` /** * 图片BASE64字符串 */ Img string `json:"img"` }
func (*ImageUploadRequest) DoInvoke ¶
func (req *ImageUploadRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*ImageUploadResponse, error)
type ImageUploadResponse ¶
type ImageUploadResponse struct { Code string `json:"code"` Msg string `json:"msg"` /** * 图片ID */ Data string `json:"data"` TraceId string `json:"traceId"` }
func (*ImageUploadResponse) IsSuccess ¶
func (response *ImageUploadResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.