traderate

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package traderate 包含评价API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=48881

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseGetMixRateListResult added in v1.3.4

func ReleaseGetMixRateListResult(v *GetMixRateListResult)

ReleaseGetMixRateListResult 释放GetMixRateListResult

func ReleaseItemStatisticVo added in v1.3.4

func ReleaseItemStatisticVo(v *ItemStatisticVo)

ReleaseItemStatisticVo 释放ItemStatisticVo

func ReleaseMixRateVo added in v1.3.4

func ReleaseMixRateVo(v *MixRateVo)

ReleaseMixRateVo 释放MixRateVo

func ReleaseTabInfo added in v1.3.4

func ReleaseTabInfo(v *TabInfo)

ReleaseTabInfo 释放TabInfo

func ReleaseTags added in v1.3.4

func ReleaseTags(v *Tags)

ReleaseTags 释放Tags

func ReleaseTaobaoFliggyWrateGetmixratelistAPIRequest added in v1.3.4

func ReleaseTaobaoFliggyWrateGetmixratelistAPIRequest(v *TaobaoFliggyWrateGetmixratelistAPIRequest)

ReleaseTaobaoFliggyWrateGetmixratelistAPIRequest 将 TaobaoFliggyWrateGetmixratelistAPIRequest 放入 sync.Pool

func ReleaseTaobaoFliggyWrateGetmixratelistAPIResponse added in v1.3.4

func ReleaseTaobaoFliggyWrateGetmixratelistAPIResponse(v *TaobaoFliggyWrateGetmixratelistAPIResponse)

ReleaseTaobaoFliggyWrateGetmixratelistAPIResponse 将 TaobaoFliggyWrateGetmixratelistAPIResponse 保存到 sync.Pool

func ReleaseTaobaoFliggyWrateGetmixratelistResult added in v1.3.4

func ReleaseTaobaoFliggyWrateGetmixratelistResult(v *TaobaoFliggyWrateGetmixratelistResult)

ReleaseTaobaoFliggyWrateGetmixratelistResult 释放TaobaoFliggyWrateGetmixratelistResult

func ReleaseTaobaoTraderateAddAPIRequest added in v1.3.4

func ReleaseTaobaoTraderateAddAPIRequest(v *TaobaoTraderateAddAPIRequest)

ReleaseTaobaoTraderateAddAPIRequest 将 TaobaoTraderateAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoTraderateAddAPIResponse added in v1.3.4

func ReleaseTaobaoTraderateAddAPIResponse(v *TaobaoTraderateAddAPIResponse)

ReleaseTaobaoTraderateAddAPIResponse 将 TaobaoTraderateAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTraderateExplainAddAPIRequest added in v1.3.4

func ReleaseTaobaoTraderateExplainAddAPIRequest(v *TaobaoTraderateExplainAddAPIRequest)

ReleaseTaobaoTraderateExplainAddAPIRequest 将 TaobaoTraderateExplainAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoTraderateExplainAddAPIResponse added in v1.3.4

func ReleaseTaobaoTraderateExplainAddAPIResponse(v *TaobaoTraderateExplainAddAPIResponse)

ReleaseTaobaoTraderateExplainAddAPIResponse 将 TaobaoTraderateExplainAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTraderateListAddAPIRequest added in v1.3.4

func ReleaseTaobaoTraderateListAddAPIRequest(v *TaobaoTraderateListAddAPIRequest)

ReleaseTaobaoTraderateListAddAPIRequest 将 TaobaoTraderateListAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoTraderateListAddAPIResponse added in v1.3.4

func ReleaseTaobaoTraderateListAddAPIResponse(v *TaobaoTraderateListAddAPIResponse)

ReleaseTaobaoTraderateListAddAPIResponse 将 TaobaoTraderateListAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTraderatesGetAPIRequest added in v1.3.4

func ReleaseTaobaoTraderatesGetAPIRequest(v *TaobaoTraderatesGetAPIRequest)

ReleaseTaobaoTraderatesGetAPIRequest 将 TaobaoTraderatesGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTraderatesGetAPIResponse added in v1.3.4

func ReleaseTaobaoTraderatesGetAPIResponse(v *TaobaoTraderatesGetAPIResponse)

ReleaseTaobaoTraderatesGetAPIResponse 将 TaobaoTraderatesGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTraderatesGetResults added in v1.3.4

func ReleaseTaobaoTraderatesGetResults(v *TaobaoTraderatesGetResults)

ReleaseTaobaoTraderatesGetResults 释放TaobaoTraderatesGetResults

func ReleaseTmallRateTagDetail added in v1.3.4

func ReleaseTmallRateTagDetail(v *TmallRateTagDetail)

ReleaseTmallRateTagDetail 释放TmallRateTagDetail

func ReleaseTmallTraderateFeedsGetAPIRequest added in v1.3.4

func ReleaseTmallTraderateFeedsGetAPIRequest(v *TmallTraderateFeedsGetAPIRequest)

ReleaseTmallTraderateFeedsGetAPIRequest 将 TmallTraderateFeedsGetAPIRequest 放入 sync.Pool

func ReleaseTmallTraderateFeedsGetAPIResponse added in v1.3.4

func ReleaseTmallTraderateFeedsGetAPIResponse(v *TmallTraderateFeedsGetAPIResponse)

ReleaseTmallTraderateFeedsGetAPIResponse 将 TmallTraderateFeedsGetAPIResponse 保存到 sync.Pool

func ReleaseTmallTraderateFeedsGetModel added in v1.3.4

func ReleaseTmallTraderateFeedsGetModel(v *TmallTraderateFeedsGetModel)

ReleaseTmallTraderateFeedsGetModel 释放TmallTraderateFeedsGetModel

func ReleaseTmallTraderateItemtagsGetAPIRequest added in v1.3.4

func ReleaseTmallTraderateItemtagsGetAPIRequest(v *TmallTraderateItemtagsGetAPIRequest)

ReleaseTmallTraderateItemtagsGetAPIRequest 将 TmallTraderateItemtagsGetAPIRequest 放入 sync.Pool

func ReleaseTmallTraderateItemtagsGetAPIResponse added in v1.3.4

func ReleaseTmallTraderateItemtagsGetAPIResponse(v *TmallTraderateItemtagsGetAPIResponse)

ReleaseTmallTraderateItemtagsGetAPIResponse 将 TmallTraderateItemtagsGetAPIResponse 保存到 sync.Pool

func ReleaseTopGetMixRateListParam added in v1.3.4

func ReleaseTopGetMixRateListParam(v *TopGetMixRateListParam)

ReleaseTopGetMixRateListParam 释放TopGetMixRateListParam

func ReleaseTradeRateRequest added in v1.3.4

func ReleaseTradeRateRequest(v *TradeRateRequest)

ReleaseTradeRateRequest 释放TradeRateRequest

Types

type GetMixRateListResult

type GetMixRateListResult struct {
	// 评价明细信息
	MixRates []MixRateVo `json:"mix_rates,omitempty" xml:"mix_rates>mix_rate_vo,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 是否下一页
	HasNextPage int64 `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"`
	// 评价统计信息
	ItemStatistic *ItemStatisticVo `json:"item_statistic,omitempty" xml:"item_statistic,omitempty"`
	// 总数量
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

GetMixRateListResult 结构体

func GetGetMixRateListResult added in v1.3.4

func GetGetMixRateListResult() *GetMixRateListResult

GetGetMixRateListResult() 从对象池中获取GetMixRateListResult

type ItemStatisticVo

type ItemStatisticVo struct {
	// tab筛选信息
	TabInfos []TabInfo `json:"tab_infos,omitempty" xml:"tab_infos>tab_info,omitempty"`
	// 评分描述信息
	RankDesc string `json:"rank_desc,omitempty" xml:"rank_desc,omitempty"`
	// 子评分项信息
	ScoreDetail string `json:"score_detail,omitempty" xml:"score_detail,omitempty"`
	// 总评分
	TotalScore string `json:"total_score,omitempty" xml:"total_score,omitempty"`
	// 评论数量
	RateCnt int64 `json:"rate_cnt,omitempty" xml:"rate_cnt,omitempty"`
}

ItemStatisticVo 结构体

func GetItemStatisticVo added in v1.3.4

func GetItemStatisticVo() *ItemStatisticVo

GetItemStatisticVo() 从对象池中获取ItemStatisticVo

type MixRateVo

type MixRateVo struct {
	// 图片信息
	PictureUrls []string `json:"picture_urls,omitempty" xml:"picture_urls>string,omitempty"`
	// 正文内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 正文摘要
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 用户头像
	UserIcon string `json:"user_icon,omitempty" xml:"user_icon,omitempty"`
	// 用户昵称
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// 总评分
	TotalScore int64 `json:"total_score,omitempty" xml:"total_score,omitempty"`
}

MixRateVo 结构体

func GetMixRateVo added in v1.3.4

func GetMixRateVo() *MixRateVo

GetMixRateVo() 从对象池中获取MixRateVo

type TabInfo

type TabInfo struct {
	// tab筛选信息Code,查询时使用
	TabCode string `json:"tab_code,omitempty" xml:"tab_code,omitempty"`
	// 包含的数量
	TabDetail string `json:"tab_detail,omitempty" xml:"tab_detail,omitempty"`
	// tab名称
	TabName string `json:"tab_name,omitempty" xml:"tab_name,omitempty"`
	// 属性(正面负面)
	Attitude int64 `json:"attitude,omitempty" xml:"attitude,omitempty"`
	// 会否选中
	IsClick bool `json:"is_click,omitempty" xml:"is_click,omitempty"`
}

TabInfo 结构体

func GetTabInfo added in v1.3.4

func GetTabInfo() *TabInfo

GetTabInfo() 从对象池中获取TabInfo

type Tags added in v1.2.5

type Tags struct {
	// 表示标签的名称
	TagName string `json:"tag_name,omitempty" xml:"tag_name,omitempty"`
	// 表示标签的极性,正极true,负极false
	Posi bool `json:"posi,omitempty" xml:"posi,omitempty"`
}

Tags 结构体

func GetTags added in v1.3.4

func GetTags() *Tags

GetTags() 从对象池中获取Tags

type TaobaoFliggyWrateGetmixratelistAPIRequest added in v1.2.0

type TaobaoFliggyWrateGetmixratelistAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoFliggyWrateGetmixratelistAPIRequest 飞猪通用评价接口 API请求 taobao.fliggy.wrate.getmixratelist

飞猪评价通用接口

func GetTaobaoFliggyWrateGetmixratelistAPIRequest added in v1.3.4

func GetTaobaoFliggyWrateGetmixratelistAPIRequest() *TaobaoFliggyWrateGetmixratelistAPIRequest

GetTaobaoFliggyWrateGetmixratelistRequest 从 sync.Pool 获取 TaobaoFliggyWrateGetmixratelistAPIRequest

func NewTaobaoFliggyWrateGetmixratelistRequest

func NewTaobaoFliggyWrateGetmixratelistRequest() *TaobaoFliggyWrateGetmixratelistAPIRequest

NewTaobaoFliggyWrateGetmixratelistRequest 初始化TaobaoFliggyWrateGetmixratelistAPIRequest对象

func (TaobaoFliggyWrateGetmixratelistAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFliggyWrateGetmixratelistAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoFliggyWrateGetmixratelistAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFliggyWrateGetmixratelistAPIRequest) GetParamTopGetMixRateListParam added in v1.2.0

func (r TaobaoFliggyWrateGetmixratelistAPIRequest) GetParamTopGetMixRateListParam() *TopGetMixRateListParam

GetParamTopGetMixRateListParam ParamTopGetMixRateListParam Getter

func (TaobaoFliggyWrateGetmixratelistAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoFliggyWrateGetmixratelistAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoFliggyWrateGetmixratelistAPIRequest) SetParamTopGetMixRateListParam added in v1.2.0

func (r *TaobaoFliggyWrateGetmixratelistAPIRequest) SetParamTopGetMixRateListParam(_paramTopGetMixRateListParam *TopGetMixRateListParam) error

SetParamTopGetMixRateListParam is ParamTopGetMixRateListParam Setter 评论列表查询参数

type TaobaoFliggyWrateGetmixratelistAPIResponse

type TaobaoFliggyWrateGetmixratelistAPIResponse struct {
	model.CommonResponse
	TaobaoFliggyWrateGetmixratelistAPIResponseModel
}

TaobaoFliggyWrateGetmixratelistAPIResponse 飞猪通用评价接口 API返回值 taobao.fliggy.wrate.getmixratelist

飞猪评价通用接口

func GetTaobaoFliggyWrateGetmixratelistAPIResponse added in v1.3.4

func GetTaobaoFliggyWrateGetmixratelistAPIResponse() *TaobaoFliggyWrateGetmixratelistAPIResponse

GetTaobaoFliggyWrateGetmixratelistAPIResponse 从 sync.Pool 获取 TaobaoFliggyWrateGetmixratelistAPIResponse

func (*TaobaoFliggyWrateGetmixratelistAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoFliggyWrateGetmixratelistAPIResponseModel added in v1.2.0

type TaobaoFliggyWrateGetmixratelistAPIResponseModel struct {
	XMLName xml.Name `xml:"fliggy_wrate_getmixratelist_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoFliggyWrateGetmixratelistResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoFliggyWrateGetmixratelistAPIResponseModel is 飞猪通用评价接口 成功返回结果

func (*TaobaoFliggyWrateGetmixratelistAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoFliggyWrateGetmixratelistResult

type TaobaoFliggyWrateGetmixratelistResult struct {
	// 返回对象
	Model *GetMixRateListResult `json:"model,omitempty" xml:"model,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoFliggyWrateGetmixratelistResult 结构体

func GetTaobaoFliggyWrateGetmixratelistResult added in v1.3.4

func GetTaobaoFliggyWrateGetmixratelistResult() *TaobaoFliggyWrateGetmixratelistResult

GetTaobaoFliggyWrateGetmixratelistResult() 从对象池中获取TaobaoFliggyWrateGetmixratelistResult

type TaobaoTraderateAddAPIRequest added in v1.2.0

type TaobaoTraderateAddAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoTraderateAddAPIRequest 新增单个评价 API请求 taobao.traderate.add

新增单个评价(<font color="red">注:在评价之前需要对订单成功的时间进行判定(end_time),如果超过15天,不能再通过该接口进行评价</font>)

func GetTaobaoTraderateAddAPIRequest added in v1.3.4

func GetTaobaoTraderateAddAPIRequest() *TaobaoTraderateAddAPIRequest

GetTaobaoTraderateAddRequest 从 sync.Pool 获取 TaobaoTraderateAddAPIRequest

func NewTaobaoTraderateAddRequest

func NewTaobaoTraderateAddRequest() *TaobaoTraderateAddAPIRequest

NewTaobaoTraderateAddRequest 初始化TaobaoTraderateAddAPIRequest对象

func (TaobaoTraderateAddAPIRequest) GetAnony added in v1.2.0

func (r TaobaoTraderateAddAPIRequest) GetAnony() bool

GetAnony Anony Getter

func (TaobaoTraderateAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTraderateAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTraderateAddAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoTraderateAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTraderateAddAPIRequest) GetContent added in v1.2.0

func (r TaobaoTraderateAddAPIRequest) GetContent() string

GetContent Content Getter

func (TaobaoTraderateAddAPIRequest) GetOid added in v1.2.0

GetOid Oid Getter

func (TaobaoTraderateAddAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTraderateAddAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoTraderateAddAPIRequest) GetResult added in v1.2.0

func (r TaobaoTraderateAddAPIRequest) GetResult() string

GetResult Result Getter

func (TaobaoTraderateAddAPIRequest) GetRole added in v1.2.0

GetRole Role Getter

func (TaobaoTraderateAddAPIRequest) GetTid added in v1.2.0

GetTid Tid Getter

func (*TaobaoTraderateAddAPIRequest) Reset added in v1.3.4

func (r *TaobaoTraderateAddAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTraderateAddAPIRequest) SetAnony added in v1.2.0

func (r *TaobaoTraderateAddAPIRequest) SetAnony(_anony bool) error

SetAnony is Anony Setter 是否匿名,卖家评不能匿名。可选值:true(匿名),false(非匿名)。注意:如果交易订单匿名,则评价也匿名

func (*TaobaoTraderateAddAPIRequest) SetContent added in v1.2.0

func (r *TaobaoTraderateAddAPIRequest) SetContent(_content string) error

SetContent is Content Setter 评价内容,最大长度: 500个汉字 .注意:当评价结果为good时就不用输入评价内容.评价内容为neutral/bad的时候需要输入评价内容

func (*TaobaoTraderateAddAPIRequest) SetOid added in v1.2.0

func (r *TaobaoTraderateAddAPIRequest) SetOid(_oid int64) error

SetOid is Oid Setter 子订单ID

func (*TaobaoTraderateAddAPIRequest) SetResult added in v1.2.0

func (r *TaobaoTraderateAddAPIRequest) SetResult(_result string) error

SetResult is Result Setter 评价结果,可选值:good(好评),neutral(中评),bad(差评)

func (*TaobaoTraderateAddAPIRequest) SetRole added in v1.2.0

func (r *TaobaoTraderateAddAPIRequest) SetRole(_role string) error

SetRole is Role Setter 评价者角色,可选值:seller(卖家),buyer(买家)

func (*TaobaoTraderateAddAPIRequest) SetTid added in v1.2.0

func (r *TaobaoTraderateAddAPIRequest) SetTid(_tid int64) error

SetTid is Tid Setter 交易ID

type TaobaoTraderateAddAPIResponse

type TaobaoTraderateAddAPIResponse struct {
	model.CommonResponse
	TaobaoTraderateAddAPIResponseModel
}

TaobaoTraderateAddAPIResponse 新增单个评价 API返回值 taobao.traderate.add

新增单个评价(<font color="red">注:在评价之前需要对订单成功的时间进行判定(end_time),如果超过15天,不能再通过该接口进行评价</font>)

func GetTaobaoTraderateAddAPIResponse added in v1.3.4

func GetTaobaoTraderateAddAPIResponse() *TaobaoTraderateAddAPIResponse

GetTaobaoTraderateAddAPIResponse 从 sync.Pool 获取 TaobaoTraderateAddAPIResponse

func (*TaobaoTraderateAddAPIResponse) Reset added in v1.3.4

func (m *TaobaoTraderateAddAPIResponse) Reset()

Reset 清空结构体

type TaobaoTraderateAddAPIResponseModel added in v1.2.0

type TaobaoTraderateAddAPIResponseModel struct {
	XMLName xml.Name `xml:"traderate_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回tid、oid、create
	TradeRate *TradeRateRequest `json:"trade_rate,omitempty" xml:"trade_rate,omitempty"`
}

TaobaoTraderateAddAPIResponseModel is 新增单个评价 成功返回结果

func (*TaobaoTraderateAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTraderateExplainAddAPIRequest added in v1.2.0

type TaobaoTraderateExplainAddAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoTraderateExplainAddAPIRequest 商城评价解释接口 API请求 taobao.traderate.explain.add

商城卖家给评价做出解释(买家追加评论后、评价超过30天的,都不能再做评价解释)

func GetTaobaoTraderateExplainAddAPIRequest added in v1.3.4

func GetTaobaoTraderateExplainAddAPIRequest() *TaobaoTraderateExplainAddAPIRequest

GetTaobaoTraderateExplainAddRequest 从 sync.Pool 获取 TaobaoTraderateExplainAddAPIRequest

func NewTaobaoTraderateExplainAddRequest

func NewTaobaoTraderateExplainAddRequest() *TaobaoTraderateExplainAddAPIRequest

NewTaobaoTraderateExplainAddRequest 初始化TaobaoTraderateExplainAddAPIRequest对象

func (TaobaoTraderateExplainAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTraderateExplainAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTraderateExplainAddAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoTraderateExplainAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTraderateExplainAddAPIRequest) GetOid added in v1.2.0

GetOid Oid Getter

func (TaobaoTraderateExplainAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoTraderateExplainAddAPIRequest) GetReply added in v1.2.0

GetReply Reply Getter

func (*TaobaoTraderateExplainAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTraderateExplainAddAPIRequest) SetOid added in v1.2.0

SetOid is Oid Setter 子订单ID

func (*TaobaoTraderateExplainAddAPIRequest) SetReply added in v1.2.0

func (r *TaobaoTraderateExplainAddAPIRequest) SetReply(_reply string) error

SetReply is Reply Setter 评价解释内容,最大长度:500个汉字

type TaobaoTraderateExplainAddAPIResponse

type TaobaoTraderateExplainAddAPIResponse struct {
	model.CommonResponse
	TaobaoTraderateExplainAddAPIResponseModel
}

TaobaoTraderateExplainAddAPIResponse 商城评价解释接口 API返回值 taobao.traderate.explain.add

商城卖家给评价做出解释(买家追加评论后、评价超过30天的,都不能再做评价解释)

func GetTaobaoTraderateExplainAddAPIResponse added in v1.3.4

func GetTaobaoTraderateExplainAddAPIResponse() *TaobaoTraderateExplainAddAPIResponse

GetTaobaoTraderateExplainAddAPIResponse 从 sync.Pool 获取 TaobaoTraderateExplainAddAPIResponse

func (*TaobaoTraderateExplainAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTraderateExplainAddAPIResponseModel added in v1.2.0

type TaobaoTraderateExplainAddAPIResponseModel struct {
	XMLName xml.Name `xml:"traderate_explain_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商城卖家给评价解释是否成功。
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoTraderateExplainAddAPIResponseModel is 商城评价解释接口 成功返回结果

func (*TaobaoTraderateExplainAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTraderateListAddAPIRequest added in v1.2.0

type TaobaoTraderateListAddAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoTraderateListAddAPIRequest 针对父子订单新增批量评价 API请求 taobao.traderate.list.add

针对父子订单新增批量评价(<font color="red">注:在评价之前需要对订单成功的时间进行判定(end_time),如果超过15天,不用再通过该接口进行评价</font>)

func GetTaobaoTraderateListAddAPIRequest added in v1.3.4

func GetTaobaoTraderateListAddAPIRequest() *TaobaoTraderateListAddAPIRequest

GetTaobaoTraderateListAddRequest 从 sync.Pool 获取 TaobaoTraderateListAddAPIRequest

func NewTaobaoTraderateListAddRequest

func NewTaobaoTraderateListAddRequest() *TaobaoTraderateListAddAPIRequest

NewTaobaoTraderateListAddRequest 初始化TaobaoTraderateListAddAPIRequest对象

func (TaobaoTraderateListAddAPIRequest) GetAnony added in v1.2.0

GetAnony Anony Getter

func (TaobaoTraderateListAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTraderateListAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTraderateListAddAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoTraderateListAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTraderateListAddAPIRequest) GetContent added in v1.2.0

GetContent Content Getter

func (TaobaoTraderateListAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoTraderateListAddAPIRequest) GetResult added in v1.2.0

GetResult Result Getter

func (TaobaoTraderateListAddAPIRequest) GetRole added in v1.2.0

GetRole Role Getter

func (TaobaoTraderateListAddAPIRequest) GetTid added in v1.2.0

GetTid Tid Getter

func (*TaobaoTraderateListAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTraderateListAddAPIRequest) SetAnony added in v1.2.0

func (r *TaobaoTraderateListAddAPIRequest) SetAnony(_anony bool) error

SetAnony is Anony Setter 是否匿名,卖家评不能匿名。可选值:true(匿名),false(非匿名)。 注意:如果买家匿名购买,那么买家的评价默认匿名

func (*TaobaoTraderateListAddAPIRequest) SetContent added in v1.2.0

func (r *TaobaoTraderateListAddAPIRequest) SetContent(_content string) error

SetContent is Content Setter 评价内容,最大长度: 500个汉字 .注意:当评价结果为good时就不用输入评价内容.评价内容为neutral/bad的时候需要输入评价内容

func (*TaobaoTraderateListAddAPIRequest) SetResult added in v1.2.0

func (r *TaobaoTraderateListAddAPIRequest) SetResult(_result string) error

SetResult is Result Setter 评价结果。可选值:good(好评),neutral(中评),bad(差评)

func (*TaobaoTraderateListAddAPIRequest) SetRole added in v1.2.0

func (r *TaobaoTraderateListAddAPIRequest) SetRole(_role string) error

SetRole is Role Setter 评价者角色。可选值:seller(卖家),buyer(买家)

func (*TaobaoTraderateListAddAPIRequest) SetTid added in v1.2.0

SetTid is Tid Setter 交易ID

type TaobaoTraderateListAddAPIResponse

type TaobaoTraderateListAddAPIResponse struct {
	model.CommonResponse
	TaobaoTraderateListAddAPIResponseModel
}

TaobaoTraderateListAddAPIResponse 针对父子订单新增批量评价 API返回值 taobao.traderate.list.add

针对父子订单新增批量评价(<font color="red">注:在评价之前需要对订单成功的时间进行判定(end_time),如果超过15天,不用再通过该接口进行评价</font>)

func GetTaobaoTraderateListAddAPIResponse added in v1.3.4

func GetTaobaoTraderateListAddAPIResponse() *TaobaoTraderateListAddAPIResponse

GetTaobaoTraderateListAddAPIResponse 从 sync.Pool 获取 TaobaoTraderateListAddAPIResponse

func (*TaobaoTraderateListAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTraderateListAddAPIResponseModel added in v1.2.0

type TaobaoTraderateListAddAPIResponseModel struct {
	XMLName xml.Name `xml:"traderate_list_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的评论的信息,仅返回tid和created字段
	TradeRate *TradeRateRequest `json:"trade_rate,omitempty" xml:"trade_rate,omitempty"`
}

TaobaoTraderateListAddAPIResponseModel is 针对父子订单新增批量评价 成功返回结果

func (*TaobaoTraderateListAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTraderatesGetAPIRequest added in v1.2.0

type TaobaoTraderatesGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoTraderatesGetAPIRequest 搜索评价信息 API请求 taobao.traderates.get

搜索评价信息,只能获取距今180天内的评价记录(只支持查询卖家给出或得到的评价)。

func GetTaobaoTraderatesGetAPIRequest added in v1.3.4

func GetTaobaoTraderatesGetAPIRequest() *TaobaoTraderatesGetAPIRequest

GetTaobaoTraderatesGetRequest 从 sync.Pool 获取 TaobaoTraderatesGetAPIRequest

func NewTaobaoTraderatesGetRequest

func NewTaobaoTraderatesGetRequest() *TaobaoTraderatesGetAPIRequest

NewTaobaoTraderatesGetRequest 初始化TaobaoTraderatesGetAPIRequest对象

func (TaobaoTraderatesGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTraderatesGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTraderatesGetAPIRequest) GetEndDate added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetEndDate() string

GetEndDate EndDate Getter

func (TaobaoTraderatesGetAPIRequest) GetFields added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TaobaoTraderatesGetAPIRequest) GetNumIid added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetNumIid() int64

GetNumIid NumIid Getter

func (TaobaoTraderatesGetAPIRequest) GetOuid added in v1.2.5

GetOuid Ouid Getter

func (TaobaoTraderatesGetAPIRequest) GetPageNo added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetPageNo() int64

GetPageNo PageNo Getter

func (TaobaoTraderatesGetAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoTraderatesGetAPIRequest) GetRateType added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetRateType() string

GetRateType RateType Getter

func (TaobaoTraderatesGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTraderatesGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoTraderatesGetAPIRequest) GetResult added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetResult() string

GetResult Result Getter

func (TaobaoTraderatesGetAPIRequest) GetRole added in v1.2.0

GetRole Role Getter

func (TaobaoTraderatesGetAPIRequest) GetStartDate added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetStartDate() string

GetStartDate StartDate Getter

func (TaobaoTraderatesGetAPIRequest) GetTid added in v1.2.0

GetTid Tid Getter

func (TaobaoTraderatesGetAPIRequest) GetUseHasNext added in v1.2.0

func (r TaobaoTraderatesGetAPIRequest) GetUseHasNext() bool

GetUseHasNext UseHasNext Getter

func (*TaobaoTraderatesGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoTraderatesGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTraderatesGetAPIRequest) SetEndDate added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetEndDate(_endDate string) error

SetEndDate is EndDate Setter 评价结束时间。如果只输入结束时间,那么全部返回所有评价数据。

func (*TaobaoTraderatesGetAPIRequest) SetFields added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetFields(_fields []string) error

SetFields is Fields Setter 需返回的字段列表。可选值:TradeRate 结构中的所有字段,多个字段之间用“,”分隔

func (*TaobaoTraderatesGetAPIRequest) SetNumIid added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetNumIid(_numIid int64) error

SetNumIid is NumIid Setter 商品的数字ID

func (*TaobaoTraderatesGetAPIRequest) SetOuid added in v1.2.5

func (r *TaobaoTraderatesGetAPIRequest) SetOuid(_ouid string) error

SetOuid is Ouid Setter ouid

func (*TaobaoTraderatesGetAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码。取值范围:大于零的整数最大限制为200; 默认值:1

func (*TaobaoTraderatesGetAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页获取条数。默认值40,最小值1,最大值150。

func (*TaobaoTraderatesGetAPIRequest) SetRateType added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetRateType(_rateType string) error

SetRateType is RateType Setter 评价类型。可选值:get(得到),give(给出)

func (*TaobaoTraderatesGetAPIRequest) SetResult added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetResult(_result string) error

SetResult is Result Setter 评价结果。可选值:good(好评),neutral(中评),bad(差评)

func (*TaobaoTraderatesGetAPIRequest) SetRole added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetRole(_role string) error

SetRole is Role Setter 评价者角色即评价的发起方。可选值:seller(卖家),buyer(买家)。 当 give buyer 以买家身份给卖家的评价; 当 get seller 以买家身份得到卖家给的评价; 当 give seller 以卖家身份给买家的评价; 当 get buyer 以卖家身份得到买家给的评价。

func (*TaobaoTraderatesGetAPIRequest) SetStartDate added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetStartDate(_startDate string) error

SetStartDate is StartDate Setter 评价开始时。如果只输入开始时间,那么能返回开始时间之后的评价数据。

func (*TaobaoTraderatesGetAPIRequest) SetTid added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetTid(_tid int64) error

SetTid is Tid Setter 交易订单id,可以是父订单id号,也可以是子订单id号

func (*TaobaoTraderatesGetAPIRequest) SetUseHasNext added in v1.2.0

func (r *TaobaoTraderatesGetAPIRequest) SetUseHasNext(_useHasNext bool) error

SetUseHasNext is UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,通过此种方式获取评价信息,效率在原有的基础上有80%的提升。

type TaobaoTraderatesGetAPIResponse

type TaobaoTraderatesGetAPIResponse struct {
	model.CommonResponse
	TaobaoTraderatesGetAPIResponseModel
}

TaobaoTraderatesGetAPIResponse 搜索评价信息 API返回值 taobao.traderates.get

搜索评价信息,只能获取距今180天内的评价记录(只支持查询卖家给出或得到的评价)。

func GetTaobaoTraderatesGetAPIResponse added in v1.3.4

func GetTaobaoTraderatesGetAPIResponse() *TaobaoTraderatesGetAPIResponse

GetTaobaoTraderatesGetAPIResponse 从 sync.Pool 获取 TaobaoTraderatesGetAPIResponse

func (*TaobaoTraderatesGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoTraderatesGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoTraderatesGetAPIResponseModel added in v1.2.0

type TaobaoTraderatesGetAPIResponseModel struct {
	XMLName xml.Name `xml:"traderates_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 评价列表。返回的TradeRate包含的具体信息为入参fields请求的字段信息
	TradeRates []TaobaoTraderatesGetResults `json:"trade_rates,omitempty" xml:"trade_rates>taobao_traderates_get_results,omitempty"`
	// 搜索到的评价总数。相同的查询时间段条件下,最大只能获取总共1500条评价记录。所以当评价大于等于1500时 ISV可以通过start_date及end_date来进行拆分,以保证可以查询到全部数据
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 当使用use_has_next时返回信息,如果还有下一页则返回true
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoTraderatesGetAPIResponseModel is 搜索评价信息 成功返回结果

func (*TaobaoTraderatesGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTraderatesGetResults added in v1.2.5

type TaobaoTraderatesGetResults struct {
	// 评价者角色.可选值:seller(卖家),buyer(买家)
	Role string `json:"role,omitempty" xml:"role,omitempty"`
	// 评价者昵称
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 评价结果,可选值:good(好评),neutral(中评),bad(差评)
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// 评价创建时间,格式:yyyy-MM-dd HH:mm:ss
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 被评价者昵称
	RatedNick string `json:"rated_nick,omitempty" xml:"rated_nick,omitempty"`
	// 商品标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 商品价格,精确到2位小数;单位:元.如:200.07,表示:200元7分
	ItemPrice string `json:"item_price,omitempty" xml:"item_price,omitempty"`
	// 评价内容,最大长度:500个汉字
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 评价解释,最大长度:500个汉字
	Reply string `json:"reply,omitempty" xml:"reply,omitempty"`
	// ouid
	Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"`
	// 交易ID
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 子订单ID
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
	// 商品的数字ID
	NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"`
	// 物流服务评分
	LogisticsServiceScore int64 `json:"logistics_service_score,omitempty" xml:"logistics_service_score,omitempty"`
	// 评价信息是否用于记分,<br/>可取值:true(参与记分)和false(不参与记分)
	ValidScore bool `json:"valid_score,omitempty" xml:"valid_score,omitempty"`
}

TaobaoTraderatesGetResults 结构体

func GetTaobaoTraderatesGetResults added in v1.3.4

func GetTaobaoTraderatesGetResults() *TaobaoTraderatesGetResults

GetTaobaoTraderatesGetResults() 从对象池中获取TaobaoTraderatesGetResults

type TmallRateTagDetail

type TmallRateTagDetail struct {
	// 标签名称
	TagName string `json:"tag_name,omitempty" xml:"tag_name,omitempty"`
	// 反应该标签的评价数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 标签的极性:1正极 -1负极
	Posi bool `json:"posi,omitempty" xml:"posi,omitempty"`
}

TmallRateTagDetail 结构体

func GetTmallRateTagDetail added in v1.3.4

func GetTmallRateTagDetail() *TmallRateTagDetail

GetTmallRateTagDetail() 从对象池中获取TmallRateTagDetail

type TmallTraderateFeedsGetAPIRequest added in v1.2.0

type TmallTraderateFeedsGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallTraderateFeedsGetAPIRequest 查询子订单对应的评价、追评以及语义标签 API请求 tmall.traderate.feeds.get

通过子订单ID获取天猫订单对应的评价,追评,以及对应的语义标签

func GetTmallTraderateFeedsGetAPIRequest added in v1.3.4

func GetTmallTraderateFeedsGetAPIRequest() *TmallTraderateFeedsGetAPIRequest

GetTmallTraderateFeedsGetRequest 从 sync.Pool 获取 TmallTraderateFeedsGetAPIRequest

func NewTmallTraderateFeedsGetRequest

func NewTmallTraderateFeedsGetRequest() *TmallTraderateFeedsGetAPIRequest

NewTmallTraderateFeedsGetRequest 初始化TmallTraderateFeedsGetAPIRequest对象

func (TmallTraderateFeedsGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallTraderateFeedsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallTraderateFeedsGetAPIRequest) GetApiParams added in v1.2.0

func (r TmallTraderateFeedsGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallTraderateFeedsGetAPIRequest) GetChildTradeId added in v1.2.0

func (r TmallTraderateFeedsGetAPIRequest) GetChildTradeId() int64

GetChildTradeId ChildTradeId Getter

func (TmallTraderateFeedsGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallTraderateFeedsGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallTraderateFeedsGetAPIRequest) SetChildTradeId added in v1.2.0

func (r *TmallTraderateFeedsGetAPIRequest) SetChildTradeId(_childTradeId int64) error

SetChildTradeId is ChildTradeId Setter 交易子订单ID

type TmallTraderateFeedsGetAPIResponse

type TmallTraderateFeedsGetAPIResponse struct {
	model.CommonResponse
	TmallTraderateFeedsGetAPIResponseModel
}

TmallTraderateFeedsGetAPIResponse 查询子订单对应的评价、追评以及语义标签 API返回值 tmall.traderate.feeds.get

通过子订单ID获取天猫订单对应的评价,追评,以及对应的语义标签

func GetTmallTraderateFeedsGetAPIResponse added in v1.3.4

func GetTmallTraderateFeedsGetAPIResponse() *TmallTraderateFeedsGetAPIResponse

GetTmallTraderateFeedsGetAPIResponse 从 sync.Pool 获取 TmallTraderateFeedsGetAPIResponse

func (*TmallTraderateFeedsGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallTraderateFeedsGetAPIResponseModel added in v1.2.0

type TmallTraderateFeedsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_traderate_feeds_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回评价信息
	TmallRateInfo *TmallTraderateFeedsGetModel `json:"tmall_rate_info,omitempty" xml:"tmall_rate_info,omitempty"`
}

TmallTraderateFeedsGetAPIResponseModel is 查询子订单对应的评价、追评以及语义标签 成功返回结果

func (*TmallTraderateFeedsGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallTraderateFeedsGetModel added in v1.2.5

type TmallTraderateFeedsGetModel struct {
	// 原始评价对应的标签列表
	Tags []Tags `json:"tags,omitempty" xml:"tags>tags,omitempty"`
	// 追加评价中带有的语义标签列表
	AppendTags []Tags `json:"append_tags,omitempty" xml:"append_tags>tags,omitempty"`
	// 追加评价内容
	AppendContent string `json:"append_content,omitempty" xml:"append_content,omitempty"`
	// 评价内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 追加评价时间
	AppendTime string `json:"append_time,omitempty" xml:"append_time,omitempty"`
	// 表示评价者的昵称
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// 评价时间
	CommentTime string `json:"comment_time,omitempty" xml:"comment_time,omitempty"`
	// ouid
	Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"`
	// 追评中是否含有负向标签
	AppendHasNegtv bool `json:"append_has_negtv,omitempty" xml:"append_has_negtv,omitempty"`
	// 原始评价是否含有负向标签
	HasNegtv bool `json:"has_negtv,omitempty" xml:"has_negtv,omitempty"`
}

TmallTraderateFeedsGetModel 结构体

func GetTmallTraderateFeedsGetModel added in v1.3.4

func GetTmallTraderateFeedsGetModel() *TmallTraderateFeedsGetModel

GetTmallTraderateFeedsGetModel() 从对象池中获取TmallTraderateFeedsGetModel

type TmallTraderateItemtagsGetAPIRequest added in v1.2.0

type TmallTraderateItemtagsGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallTraderateItemtagsGetAPIRequest 通过商品ID获取标签列表 API请求 tmall.traderate.itemtags.get

通过商品ID获取标签详细信息

func GetTmallTraderateItemtagsGetAPIRequest added in v1.3.4

func GetTmallTraderateItemtagsGetAPIRequest() *TmallTraderateItemtagsGetAPIRequest

GetTmallTraderateItemtagsGetRequest 从 sync.Pool 获取 TmallTraderateItemtagsGetAPIRequest

func NewTmallTraderateItemtagsGetRequest

func NewTmallTraderateItemtagsGetRequest() *TmallTraderateItemtagsGetAPIRequest

NewTmallTraderateItemtagsGetRequest 初始化TmallTraderateItemtagsGetAPIRequest对象

func (TmallTraderateItemtagsGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallTraderateItemtagsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallTraderateItemtagsGetAPIRequest) GetApiParams added in v1.2.0

func (r TmallTraderateItemtagsGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallTraderateItemtagsGetAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TmallTraderateItemtagsGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallTraderateItemtagsGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallTraderateItemtagsGetAPIRequest) SetItemId added in v1.2.0

func (r *TmallTraderateItemtagsGetAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品ID

type TmallTraderateItemtagsGetAPIResponse

type TmallTraderateItemtagsGetAPIResponse struct {
	model.CommonResponse
	TmallTraderateItemtagsGetAPIResponseModel
}

TmallTraderateItemtagsGetAPIResponse 通过商品ID获取标签列表 API返回值 tmall.traderate.itemtags.get

通过商品ID获取标签详细信息

func GetTmallTraderateItemtagsGetAPIResponse added in v1.3.4

func GetTmallTraderateItemtagsGetAPIResponse() *TmallTraderateItemtagsGetAPIResponse

GetTmallTraderateItemtagsGetAPIResponse 从 sync.Pool 获取 TmallTraderateItemtagsGetAPIResponse

func (*TmallTraderateItemtagsGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallTraderateItemtagsGetAPIResponseModel added in v1.2.0

type TmallTraderateItemtagsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_traderate_itemtags_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 标签列表
	Tags []TmallRateTagDetail `json:"tags,omitempty" xml:"tags>tmall_rate_tag_detail,omitempty"`
}

TmallTraderateItemtagsGetAPIResponseModel is 通过商品ID获取标签列表 成功返回结果

func (*TmallTraderateItemtagsGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TopGetMixRateListParam

type TopGetMixRateListParam struct {
	// 筛选条件JSON
	TabFilter string `json:"tab_filter,omitempty" xml:"tab_filter,omitempty"`
	// 类型
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 酒店或商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// pageNo
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// pageSize
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

TopGetMixRateListParam 结构体

func GetTopGetMixRateListParam added in v1.3.4

func GetTopGetMixRateListParam() *TopGetMixRateListParam

GetTopGetMixRateListParam() 从对象池中获取TopGetMixRateListParam

type TradeRateRequest

type TradeRateRequest struct {
	// 评价创建时间,格式:yyyy-MM-dd HH:mm:ss
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 交易ID
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 子订单ID
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
}

TradeRateRequest 结构体

func GetTradeRateRequest added in v1.3.4

func GetTradeRateRequest() *TradeRateRequest

GetTradeRateRequest() 从对象池中获取TradeRateRequest

Jump to

Keyboard shortcuts

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