Documentation ¶
Overview ¶
Package wangwang 包含旺旺API相关结构体
Index ¶
- type EvalDetail
- type TaobaoairislandkefuevalgetAPIRequest
- func (r TaobaoairislandkefuevalgetAPIRequest) GetApiMethodName() string
- func (r TaobaoairislandkefuevalgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoairislandkefuevalgetAPIRequest) GetBtime() string
- func (r TaobaoairislandkefuevalgetAPIRequest) GetEtime() string
- func (r TaobaoairislandkefuevalgetAPIRequest) GetQueryIds() string
- func (r TaobaoairislandkefuevalgetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoairislandkefuevalgetAPIRequest) SetBtime(_btime string) error
- func (r *TaobaoairislandkefuevalgetAPIRequest) SetEtime(_etime string) error
- func (r *TaobaoairislandkefuevalgetAPIRequest) SetQueryIds(_queryIds string) error
- type TaobaoairislandkefuevalgetAPIResponse
- type TaobaoairislandkefuevalgetAPIResponseModel
- type TaobaoqianniukefuevalgetAPIRequest
- func (r TaobaoqianniukefuevalgetAPIRequest) GetApiMethodName() string
- func (r TaobaoqianniukefuevalgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoqianniukefuevalgetAPIRequest) GetBtime() string
- func (r TaobaoqianniukefuevalgetAPIRequest) GetEtime() string
- func (r TaobaoqianniukefuevalgetAPIRequest) GetQueryIds() string
- func (r TaobaoqianniukefuevalgetAPIRequest) GetRawParams() model.Params
- 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 { // 发送评价邀请的商家客服昵称 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"` // 评价标签,可空 LabelName string `json:"label_name,omitempty" xml:"label_name,omitempty"` // 脱敏后的买家nick,可空 EvalRecer string `json:"eval_recer,omitempty" xml:"eval_recer,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 TaobaoairislandkefuevalgetAPIRequest ¶ added in v1.3.1
type TaobaoairislandkefuevalgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoairislandkefuevalgetAPIRequest 客服评价详情接口_V2 API请求 taobao.airisland.kefueval.get
获取买家对客服的服务评价
注意:
1. 请求超时[isp.top-remote-connection-timeout]或者数据过大错误[isp.runtime-max-limit]:因为某些帐号请求的数据会非常大,【需要通过减少请求时间范围避免该问题】
2. 时间范围:[now()-90d<=btime ~ etime <= now()-1d ] AND etime-btime <=7d
3. 变更eval_recer:可空,返回脱敏的买家nick,如:摩天轮 -> 摩**
4. 新增labelName:可空
func NewTaobaoairislandkefuevalgetRequest ¶ added in v1.3.1
func NewTaobaoairislandkefuevalgetRequest() *TaobaoairislandkefuevalgetAPIRequest
NewTaobaoairislandkefuevalgetRequest 初始化TaobaoairislandkefuevalgetAPIRequest对象
func (TaobaoairislandkefuevalgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoairislandkefuevalgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoairislandkefuevalgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoairislandkefuevalgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoairislandkefuevalgetAPIRequest) GetBtime ¶ added in v1.3.1
func (r TaobaoairislandkefuevalgetAPIRequest) GetBtime() string
GetBtime Btime Getter
func (TaobaoairislandkefuevalgetAPIRequest) GetEtime ¶ added in v1.3.1
func (r TaobaoairislandkefuevalgetAPIRequest) GetEtime() string
GetEtime Etime Getter
func (TaobaoairislandkefuevalgetAPIRequest) GetQueryIds ¶ added in v1.3.1
func (r TaobaoairislandkefuevalgetAPIRequest) GetQueryIds() string
GetQueryIds QueryIds Getter
func (TaobaoairislandkefuevalgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoairislandkefuevalgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoairislandkefuevalgetAPIRequest) SetBtime ¶ added in v1.3.1
func (r *TaobaoairislandkefuevalgetAPIRequest) SetBtime(_btime string) error
SetBtime is Btime Setter 开始时间,格式yyyyMMddHHmmss,时间范围:[now-90d,now-1d]
func (*TaobaoairislandkefuevalgetAPIRequest) SetEtime ¶ added in v1.3.1
func (r *TaobaoairislandkefuevalgetAPIRequest) SetEtime(_etime string) error
SetEtime is Etime Setter 结束时间,格式yyyyMMddHHmmss,时间范围:[now-90d,now-1d]
func (*TaobaoairislandkefuevalgetAPIRequest) SetQueryIds ¶ added in v1.3.1
func (r *TaobaoairislandkefuevalgetAPIRequest) SetQueryIds(_queryIds string) error
SetQueryIds is QueryIds Setter 客服的nick,多个用逗号分隔,不要超过10个,带cntaobao的长nick
type TaobaoairislandkefuevalgetAPIResponse ¶ added in v1.3.1
type TaobaoairislandkefuevalgetAPIResponse struct { model.CommonResponse TaobaoairislandkefuevalgetAPIResponseModel }
TaobaoairislandkefuevalgetAPIResponse 客服评价详情接口_V2 API返回值 taobao.airisland.kefueval.get
获取买家对客服的服务评价
注意:
1. 请求超时[isp.top-remote-connection-timeout]或者数据过大错误[isp.runtime-max-limit]:因为某些帐号请求的数据会非常大,【需要通过减少请求时间范围避免该问题】
2. 时间范围:[now()-90d<=btime ~ etime <= now()-1d ] AND etime-btime <=7d
3. 变更eval_recer:可空,返回脱敏的买家nick,如:摩天轮 -> 摩**
4. 新增labelName:可空
type TaobaoairislandkefuevalgetAPIResponseModel ¶ added in v1.3.1
type TaobaoairislandkefuevalgetAPIResponseModel struct { XMLName xml.Name `xml:"airisland_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"` }
TaobaoairislandkefuevalgetAPIResponseModel is 客服评价详情接口_V2 成功返回结果
type TaobaoqianniukefuevalgetAPIRequest ¶ added in v1.3.1
type TaobaoqianniukefuevalgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoqianniukefuevalgetAPIRequest 客服评价详情接口 API请求 taobao.qianniu.kefueval.get
获取买家对客服的服务评价
func NewTaobaoqianniukefuevalgetRequest ¶ added in v1.3.1
func NewTaobaoqianniukefuevalgetRequest() *TaobaoqianniukefuevalgetAPIRequest
NewTaobaoqianniukefuevalgetRequest 初始化TaobaoqianniukefuevalgetAPIRequest对象
func (TaobaoqianniukefuevalgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoqianniukefuevalgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoqianniukefuevalgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoqianniukefuevalgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoqianniukefuevalgetAPIRequest) GetBtime ¶ added in v1.3.1
func (r TaobaoqianniukefuevalgetAPIRequest) GetBtime() string
GetBtime Btime Getter
func (TaobaoqianniukefuevalgetAPIRequest) GetEtime ¶ added in v1.3.1
func (r TaobaoqianniukefuevalgetAPIRequest) GetEtime() string
GetEtime Etime Getter
func (TaobaoqianniukefuevalgetAPIRequest) GetQueryIds ¶ added in v1.3.1
func (r TaobaoqianniukefuevalgetAPIRequest) GetQueryIds() string
GetQueryIds QueryIds Getter
func (TaobaoqianniukefuevalgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoqianniukefuevalgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoqianniukefuevalgetAPIRequest) SetBtime ¶ added in v1.3.1
func (r *TaobaoqianniukefuevalgetAPIRequest) SetBtime(_btime string) error
SetBtime is Btime Setter 开始时间,格式yyyyMMddHHmmss
func (*TaobaoqianniukefuevalgetAPIRequest) SetEtime ¶ added in v1.3.1
func (r *TaobaoqianniukefuevalgetAPIRequest) SetEtime(_etime string) error
SetEtime is Etime Setter 结束时间,格式yyyyMMddHHmmss
func (*TaobaoqianniukefuevalgetAPIRequest) SetQueryIds ¶ added in v1.3.1
func (r *TaobaoqianniukefuevalgetAPIRequest) SetQueryIds(_queryIds string) error
SetQueryIds is QueryIds Setter 客服的nick,多个用逗号分隔,不要超过10个,带cntaobao的长nick
type TaobaoqianniukefuevalgetAPIResponse ¶ added in v1.3.1
type TaobaoqianniukefuevalgetAPIResponse struct { model.CommonResponse TaobaoqianniukefuevalgetAPIResponseModel }
TaobaoqianniukefuevalgetAPIResponse 客服评价详情接口 API返回值 taobao.qianniu.kefueval.get
获取买家对客服的服务评价
type TaobaoqianniukefuevalgetAPIResponseModel ¶ added in v1.3.1
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 客服评价详情接口 成功返回结果