tagpush

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 Tag

type Tag struct {
	/**
	 *  标签Code
	 */
	TagCode string `json:"tagCode"`
	/**
	 *  标签名称
	 */
	TagName string `json:"tagName"`
	/**
	 *  1:新增 2:修改 3:删除
	 */
	Action int32 `json:"action"`
}

type TagPushRequest

type TagPushRequest struct {
	/**
	 *  请求流水号,唯一
	 */
	RequestId string `json:"requestId"`
	/**
	 *  标签code 【size <= 20】
	 */
	TagList []Tag `json:"tagList"`
}

func (*TagPushRequest) DoInvoke

func (req *TagPushRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*TagPushResponse, error)

type TagPushResponse

type TagPushResponse struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
	/**
	 * 审核拒绝标签code列表/参数不合法
	 */
	Data    []string `json:"data"`
	TraceId string   `json:"traceId"`
}

func (*TagPushResponse) IsSuccess

func (response *TagPushResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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