wangwang

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package wangwang 包含旺旺API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EvalDetail

type EvalDetail struct {
	// 接收评价的消费者昵称
	EvalRecer string `json:"eval_recer,omitempty" xml:"eval_recer,omitempty"`
	// 发送评价邀请的商家客服昵称
	EvalSender string `json:"eval_sender,omitempty" xml:"eval_sender,omitempty"`
	// 最后一次评价的时间
	EvalTime string `json:"eval_time,omitempty" xml:"eval_time,omitempty"`
	// 接收评价的消费者用户ID
	OpenUid string `json:"open_uid,omitempty" xml:"open_uid,omitempty"`
	// 评价的发送时间
	SendTime string `json:"send_time,omitempty" xml:"send_time,omitempty"`
	// 评分:0-非常满意;1-满意;2-一般;3-不满意;4-非常不满意
	EvalCode int64 `json:"eval_code,omitempty" xml:"eval_code,omitempty"`
	// 评价来源:0-客服邀评;1-消费者自主评价;2-系统邀评
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
}

EvalDetail 结构体

type TaobaoQianniuKefuevalGetAPIRequest added in v1.2.0

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

TaobaoQianniuKefuevalGetAPIRequest 客服评价详情接口 API请求 taobao.qianniu.kefueval.get

获取买家对客服的服务评价

func NewTaobaoQianniuKefuevalGetRequest

func NewTaobaoQianniuKefuevalGetRequest() *TaobaoQianniuKefuevalGetAPIRequest

NewTaobaoQianniuKefuevalGetRequest 初始化TaobaoQianniuKefuevalGetAPIRequest对象

func (TaobaoQianniuKefuevalGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuKefuevalGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuKefuevalGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuKefuevalGetAPIRequest) GetBtime added in v1.2.0

GetBtime Btime Getter

func (TaobaoQianniuKefuevalGetAPIRequest) GetEtime added in v1.2.0

GetEtime Etime Getter

func (TaobaoQianniuKefuevalGetAPIRequest) GetQueryIds added in v1.2.0

GetQueryIds QueryIds Getter

func (TaobaoQianniuKefuevalGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoQianniuKefuevalGetAPIRequest) SetBtime added in v1.2.0

func (r *TaobaoQianniuKefuevalGetAPIRequest) SetBtime(_btime string) error

SetBtime is Btime Setter 开始时间,格式yyyyMMddHHmmss

func (*TaobaoQianniuKefuevalGetAPIRequest) SetEtime added in v1.2.0

func (r *TaobaoQianniuKefuevalGetAPIRequest) SetEtime(_etime string) error

SetEtime is Etime Setter 结束时间,格式yyyyMMddHHmmss

func (*TaobaoQianniuKefuevalGetAPIRequest) SetQueryIds added in v1.2.0

func (r *TaobaoQianniuKefuevalGetAPIRequest) SetQueryIds(_queryIds string) error

SetQueryIds is QueryIds Setter 客服的nick,多个用逗号分隔,不要超过10个,带cntaobao的长nick

type TaobaoQianniuKefuevalGetAPIResponse

type TaobaoQianniuKefuevalGetAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuKefuevalGetAPIResponseModel
}

TaobaoQianniuKefuevalGetAPIResponse 客服评价详情接口 API返回值 taobao.qianniu.kefueval.get

获取买家对客服的服务评价

type TaobaoQianniuKefuevalGetAPIResponseModel added in v1.2.0

type TaobaoQianniuKefuevalGetAPIResponseModel struct {
	XMLName xml.Name `xml:"qianniu_kefueval_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 评价明细
	StaffEvalDetails []EvalDetail `json:"staff_eval_details,omitempty" xml:"staff_eval_details>eval_detail,omitempty"`
	// 评价结果数
	ResultCount int64 `json:"result_count,omitempty" xml:"result_count,omitempty"`
}

TaobaoQianniuKefuevalGetAPIResponseModel is 客服评价详情接口 成功返回结果

Jump to

Keyboard shortcuts

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