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.2.9
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.2.9
func NewTaobaoAirislandKefuevalGetRequest() *TaobaoAirislandKefuevalGetAPIRequest
NewTaobaoAirislandKefuevalGetRequest 初始化TaobaoAirislandKefuevalGetAPIRequest对象
func (TaobaoAirislandKefuevalGetAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoAirislandKefuevalGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAirislandKefuevalGetAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoAirislandKefuevalGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAirislandKefuevalGetAPIRequest) GetBtime ¶ added in v1.2.9
func (r TaobaoAirislandKefuevalGetAPIRequest) GetBtime() string
GetBtime Btime Getter
func (TaobaoAirislandKefuevalGetAPIRequest) GetEtime ¶ added in v1.2.9
func (r TaobaoAirislandKefuevalGetAPIRequest) GetEtime() string
GetEtime Etime Getter
func (TaobaoAirislandKefuevalGetAPIRequest) GetQueryIds ¶ added in v1.2.9
func (r TaobaoAirislandKefuevalGetAPIRequest) GetQueryIds() string
GetQueryIds QueryIds Getter
func (TaobaoAirislandKefuevalGetAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoAirislandKefuevalGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAirislandKefuevalGetAPIRequest) SetBtime ¶ added in v1.2.9
func (r *TaobaoAirislandKefuevalGetAPIRequest) SetBtime(_btime string) error
SetBtime is Btime Setter 开始时间,格式yyyyMMddHHmmss,时间范围:[now-90d,now-1d]
func (*TaobaoAirislandKefuevalGetAPIRequest) SetEtime ¶ added in v1.2.9
func (r *TaobaoAirislandKefuevalGetAPIRequest) SetEtime(_etime string) error
SetEtime is Etime Setter 结束时间,格式yyyyMMddHHmmss,时间范围:[now-90d,now-1d]
func (*TaobaoAirislandKefuevalGetAPIRequest) SetQueryIds ¶ added in v1.2.9
func (r *TaobaoAirislandKefuevalGetAPIRequest) SetQueryIds(_queryIds string) error
SetQueryIds is QueryIds Setter 客服的nick,多个用逗号分隔,不要超过10个,带cntaobao的长nick
type TaobaoAirislandKefuevalGetAPIResponse ¶ added in v1.2.9
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.2.9
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.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
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) GetRawParams ¶ added in v1.2.8
func (r TaobaoQianniuKefuevalGetAPIRequest) GetRawParams() model.Params
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 客服评价详情接口 成功返回结果