tagbind

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 BindFailResult

type BindFailResult struct {
	/**
	 * SHOP_OFFLINE:门店不在线 TAG_ERR:标签错误
	 */
	FailCode string `json:"failCode"`
	/**
	 * 如果failCode = TAG_ERR必传: key(String):标签code value(String): TAG_AUDIT_REJECT:标签审核失败 TAG_IS_NULL:标签不存在
	 */
	TagFailMap TagFail `json:"tagFailMap"`
}

type DataMap

type DataMap struct {
	/**
	 * 失败结果封装
	 */
	BindFailResult BindFailResult `json:"BindFailResult"`
}

type ResultData

type ResultData struct {
	/**
	 * key(String):xbk门店id value(BindFailResult): 失败结果封装
	 */
	Map DataMap `json:"map"`
}

type TagBindRequest

type TagBindRequest struct {
	/**
	 *  Map<String, List<String>> key:厂商门店ID value:标签Code列表 {"1234" : [ "1", "2"]}
	 */
	Map DataMap `json:"map"`
}

func (*TagBindRequest) DoInvoke

func (req *TagBindRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*TagBindResponse, error)

type TagBindResponse

type TagBindResponse struct {
	Code    string     `json:"code"`
	Msg     string     `json:"msg"`
	Data    ResultData `json:"data"`
	TraceId string     `json:"traceId"`
}

func (*TagBindResponse) IsSuccess

func (response *TagBindResponse) IsSuccess() bool

type TagFail

type TagFail struct {
}

Jump to

Keyboard shortcuts

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