imageupload

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

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