Documentation ¶
Overview ¶
Package wangwang 包含旺旺API相关结构体
Index ¶
- type EvalDetail
- type TaobaoQianniuKefuevalGetAPIRequest
- func (r TaobaoQianniuKefuevalGetAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuKefuevalGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuKefuevalGetAPIRequest) GetBtime() string
- func (r TaobaoQianniuKefuevalGetAPIRequest) GetEtime() string
- func (r TaobaoQianniuKefuevalGetAPIRequest) GetQueryIds() string
- func (r *TaobaoQianniuKefuevalGetAPIRequest) SetBtime(_btime string) error
- func (r *TaobaoQianniuKefuevalGetAPIRequest) SetEtime(_etime string) error
- func (r *TaobaoQianniuKefuevalGetAPIRequest) SetQueryIds(_queryIds string) error
- type TaobaoQianniuKefuevalGetAPIResponse
- type TaobaoQianniuKefuevalGetAPIResponseModel
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuKefuevalGetAPIRequest) GetBtime ¶ added in v1.2.0
func (r TaobaoQianniuKefuevalGetAPIRequest) GetBtime() string
GetBtime Btime Getter
func (TaobaoQianniuKefuevalGetAPIRequest) GetEtime ¶ added in v1.2.0
func (r TaobaoQianniuKefuevalGetAPIRequest) GetEtime() string
GetEtime Etime Getter
func (TaobaoQianniuKefuevalGetAPIRequest) GetQueryIds ¶ added in v1.2.0
func (r TaobaoQianniuKefuevalGetAPIRequest) GetQueryIds() string
GetQueryIds QueryIds Getter
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 客服评价详情接口 成功返回结果