Documentation ¶
Overview ¶
旺旺API model
Index ¶
- type ChatPeer
- type ChatRelationRequest
- type ChatRelationResult
- type EvalDetail
- type MsgList
- 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
- type TaobaoWangwangAbstractAddwordAPIRequest
- func (r TaobaoWangwangAbstractAddwordAPIRequest) GetApiMethodName() string
- func (r TaobaoWangwangAbstractAddwordAPIRequest) GetApiParams() url.Values
- func (r TaobaoWangwangAbstractAddwordAPIRequest) GetCharset() string
- func (r TaobaoWangwangAbstractAddwordAPIRequest) GetWord() string
- func (r *TaobaoWangwangAbstractAddwordAPIRequest) SetCharset(_charset string) error
- func (r *TaobaoWangwangAbstractAddwordAPIRequest) SetWord(_word string) error
- type TaobaoWangwangAbstractAddwordAPIResponse
- type TaobaoWangwangAbstractAddwordAPIResponseModel
- type TaobaoWangwangAbstractDeletewordAPIRequest
- func (r TaobaoWangwangAbstractDeletewordAPIRequest) GetApiMethodName() string
- func (r TaobaoWangwangAbstractDeletewordAPIRequest) GetApiParams() url.Values
- func (r TaobaoWangwangAbstractDeletewordAPIRequest) GetCharset() string
- func (r TaobaoWangwangAbstractDeletewordAPIRequest) GetWord() string
- func (r *TaobaoWangwangAbstractDeletewordAPIRequest) SetCharset(_charset string) error
- func (r *TaobaoWangwangAbstractDeletewordAPIRequest) SetWord(_word string) error
- type TaobaoWangwangAbstractDeletewordAPIResponse
- type TaobaoWangwangAbstractDeletewordAPIResponseModel
- type TaobaoWangwangAbstractGetwordlistAPIRequest
- func (r TaobaoWangwangAbstractGetwordlistAPIRequest) GetApiMethodName() string
- func (r TaobaoWangwangAbstractGetwordlistAPIRequest) GetApiParams() url.Values
- func (r TaobaoWangwangAbstractGetwordlistAPIRequest) GetCharset() string
- func (r *TaobaoWangwangAbstractGetwordlistAPIRequest) SetCharset(_charset string) error
- type TaobaoWangwangAbstractGetwordlistAPIResponse
- type TaobaoWangwangAbstractGetwordlistAPIResponseModel
- type TaobaoWangwangAbstractInitializeAPIRequest
- func (r TaobaoWangwangAbstractInitializeAPIRequest) GetApiMethodName() string
- func (r TaobaoWangwangAbstractInitializeAPIRequest) GetApiParams() url.Values
- func (r TaobaoWangwangAbstractInitializeAPIRequest) GetCharset() string
- func (r *TaobaoWangwangAbstractInitializeAPIRequest) SetCharset(_charset string) error
- type TaobaoWangwangAbstractInitializeAPIResponse
- type TaobaoWangwangAbstractInitializeAPIResponseModel
- type TaobaoWangwangAbstractLogqueryAPIRequest
- func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetApiMethodName() string
- func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetCharset() string
- func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetCount() int64
- func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetEndDate() int64
- func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetFromId() string
- func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetNextKey() string
- func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetStartDate() int64
- func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetToId() string
- func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetCharset(_charset string) error
- func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetCount(_count int64) error
- func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetEndDate(_endDate int64) error
- func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetFromId(_fromId string) error
- func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetNextKey(_nextKey string) error
- func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetStartDate(_startDate int64) error
- func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetToId(_toId string) error
- type TaobaoWangwangAbstractLogqueryAPIResponse
- type TaobaoWangwangAbstractLogqueryAPIResponseModel
- type TaobaoWangwangEserviceChatrelationGetAPIRequest
- func (r TaobaoWangwangEserviceChatrelationGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWangwangEserviceChatrelationGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoWangwangEserviceChatrelationGetAPIRequest) GetChatRelationRequest() *ChatRelationRequest
- func (r *TaobaoWangwangEserviceChatrelationGetAPIRequest) SetChatRelationRequest(_chatRelationRequest *ChatRelationRequest) error
- type TaobaoWangwangEserviceChatrelationGetAPIResponse
- type TaobaoWangwangEserviceChatrelationGetAPIResponseModel
- type UrlList
- type WordCountList
- type WordList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatPeer ¶
type ChatPeer struct { // 时间 Date string `json:"date,omitempty" xml:"date,omitempty"` // 账号。长ID Uid string `json:"uid,omitempty" xml:"uid,omitempty"` }
ChatPeer 结构体
type ChatRelationRequest ¶
type ChatRelationRequest struct { // 查询账号 Uid string `json:"uid,omitempty" xml:"uid,omitempty"` // 查询起始时间(精度到天) Beg string `json:"beg,omitempty" xml:"beg,omitempty"` // 查询结束时间(精度到天) End string `json:"end,omitempty" xml:"end,omitempty"` // 查询条数 Count int64 `json:"count,omitempty" xml:"count,omitempty"` // 翻页查询起始key PageBeg string `json:"page_beg,omitempty" xml:"page_beg,omitempty"` // 翻页查询结束key PageEnd string `json:"page_end,omitempty" xml:"page_end,omitempty"` }
ChatRelationRequest 结构体
type ChatRelationResult ¶
type ChatRelationResult struct { // 返回码 Code int64 `json:"code,omitempty" xml:"code,omitempty"` // 关系列表 Peers []ChatPeer `json:"peers,omitempty" xml:"peers>chat_peer,omitempty"` // 错误原因 Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 起始key。如果要实现上翻页,可以将该值作为下次请求的page_end StartKey string `json:"start_key,omitempty" xml:"start_key,omitempty"` // 结束key。如果该值为空,则表示请求时间区间内的数据已经拿完。否则,表示区间内还有数据,可以将该值作为下次请求条件的page_beg传入进行迭代请求。 EndKey string `json:"end_key,omitempty" xml:"end_key,omitempty"` }
ChatRelationResult 结构体
type EvalDetail ¶
type EvalDetail struct { // 评分:0-非常满意;1-满意;2-一般;3-不满意;4-非常不满意 EvalCode int64 `json:"eval_code,omitempty" xml:"eval_code,omitempty"` // 接收评价的消费者昵称 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"` // 评价的发送时间 SendTime string `json:"send_time,omitempty" xml:"send_time,omitempty"` // 评价来源:0-客服邀评;1-消费者自主评价;2-系统邀评 Source int64 `json:"source,omitempty" xml:"source,omitempty"` }
EvalDetail 结构体
type MsgList ¶
type MsgList struct { // 当direction=1有效,(关键词,数量)列表 WordLists []WordCountList `json:"word_lists,omitempty" xml:"word_lists>word_count_list,omitempty"` // 当direction=1有效,url列表 UrlLists []UrlList `json:"url_lists,omitempty" xml:"url_lists>url_list,omitempty"` // 表示消息方向<br/>0:from_id->to_id<br/>1:to_id->from_id Direction int64 `json:"direction,omitempty" xml:"direction,omitempty"` // utc时间 Time int64 `json:"time,omitempty" xml:"time,omitempty"` // 消息类型 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 当direction=1有效,消息长度 Length int64 `json:"length,omitempty" xml:"length,omitempty"` // 当direction=0有效,完整消息内容 Content string `json:"content,omitempty" xml:"content,omitempty"` }
MsgList 结构体
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
Get Btime Getter
func (TaobaoQianniuKefuevalGetAPIRequest) GetEtime ¶ added in v1.2.0
func (r TaobaoQianniuKefuevalGetAPIRequest) GetEtime() string
Get Etime Getter
func (TaobaoQianniuKefuevalGetAPIRequest) GetQueryIds ¶ added in v1.2.0
func (r TaobaoQianniuKefuevalGetAPIRequest) GetQueryIds() string
Get QueryIds Getter
func (*TaobaoQianniuKefuevalGetAPIRequest) SetBtime ¶ added in v1.2.0
func (r *TaobaoQianniuKefuevalGetAPIRequest) SetBtime(_btime string) error
Set is Btime Setter 开始时间,格式yyyyMMddHHmmss
func (*TaobaoQianniuKefuevalGetAPIRequest) SetEtime ¶ added in v1.2.0
func (r *TaobaoQianniuKefuevalGetAPIRequest) SetEtime(_etime string) error
Set is Etime Setter 结束时间,格式yyyyMMddHHmmss
func (*TaobaoQianniuKefuevalGetAPIRequest) SetQueryIds ¶ added in v1.2.0
func (r *TaobaoQianniuKefuevalGetAPIRequest) SetQueryIds(_queryIds string) error
Set 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"` // 评价结果数 ResultCount int64 `json:"result_count,omitempty" xml:"result_count,omitempty"` // 评价明细 StaffEvalDetails []EvalDetail `json:"staff_eval_details,omitempty" xml:"staff_eval_details>eval_detail,omitempty"` }
TaobaoQianniuKefuevalGetAPIResponseModel is 客服评价详情接口 成功返回结果
type TaobaoWangwangAbstractAddwordAPIRequest ¶ added in v1.2.0
type TaobaoWangwangAbstractAddwordAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWangwangAbstractAddwordAPIRequest
增加关键词 API请求 taobao.wangwang.abstract.addword
增加关键词,只支持json返回
func NewTaobaoWangwangAbstractAddwordRequest ¶
func NewTaobaoWangwangAbstractAddwordRequest() *TaobaoWangwangAbstractAddwordAPIRequest
NewTaobaoWangwangAbstractAddwordRequest 初始化TaobaoWangwangAbstractAddwordAPIRequest对象
func (TaobaoWangwangAbstractAddwordAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWangwangAbstractAddwordAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWangwangAbstractAddwordAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWangwangAbstractAddwordAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWangwangAbstractAddwordAPIRequest) GetCharset ¶ added in v1.2.0
func (r TaobaoWangwangAbstractAddwordAPIRequest) GetCharset() string
Get Charset Getter
func (TaobaoWangwangAbstractAddwordAPIRequest) GetWord ¶ added in v1.2.0
func (r TaobaoWangwangAbstractAddwordAPIRequest) GetWord() string
Get Word Getter
func (*TaobaoWangwangAbstractAddwordAPIRequest) SetCharset ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractAddwordAPIRequest) SetCharset(_charset string) error
Set is Charset Setter 传入参数的字符集
func (*TaobaoWangwangAbstractAddwordAPIRequest) SetWord ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractAddwordAPIRequest) SetWord(_word string) error
Set is Word Setter 关键词,长度大于0
type TaobaoWangwangAbstractAddwordAPIResponse ¶
type TaobaoWangwangAbstractAddwordAPIResponse struct { model.CommonResponse TaobaoWangwangAbstractAddwordAPIResponseModel }
TaobaoWangwangAbstractAddwordAPIResponse
增加关键词 API返回值 taobao.wangwang.abstract.addword
增加关键词,只支持json返回
type TaobaoWangwangAbstractAddwordAPIResponseModel ¶ added in v1.2.0
type TaobaoWangwangAbstractAddwordAPIResponseModel struct { XMLName xml.Name `xml:"wangwang_abstract_addword_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 0或-1,表示错误或正确,错误时有错误信息 RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"` // 例如单词长度太长等,当ret_code=-1时才有这项 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` }
TaobaoWangwangAbstractAddwordAPIResponseModel is 增加关键词 成功返回结果
type TaobaoWangwangAbstractDeletewordAPIRequest ¶ added in v1.2.0
type TaobaoWangwangAbstractDeletewordAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWangwangAbstractDeletewordAPIRequest
删除关键词 API请求 taobao.wangwang.abstract.deleteword
删除关键词,只支持json返回
func NewTaobaoWangwangAbstractDeletewordRequest ¶
func NewTaobaoWangwangAbstractDeletewordRequest() *TaobaoWangwangAbstractDeletewordAPIRequest
NewTaobaoWangwangAbstractDeletewordRequest 初始化TaobaoWangwangAbstractDeletewordAPIRequest对象
func (TaobaoWangwangAbstractDeletewordAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWangwangAbstractDeletewordAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWangwangAbstractDeletewordAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWangwangAbstractDeletewordAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWangwangAbstractDeletewordAPIRequest) GetCharset ¶ added in v1.2.0
func (r TaobaoWangwangAbstractDeletewordAPIRequest) GetCharset() string
Get Charset Getter
func (TaobaoWangwangAbstractDeletewordAPIRequest) GetWord ¶ added in v1.2.0
func (r TaobaoWangwangAbstractDeletewordAPIRequest) GetWord() string
Get Word Getter
func (*TaobaoWangwangAbstractDeletewordAPIRequest) SetCharset ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractDeletewordAPIRequest) SetCharset(_charset string) error
Set is Charset Setter 传入参数的字符集
func (*TaobaoWangwangAbstractDeletewordAPIRequest) SetWord ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractDeletewordAPIRequest) SetWord(_word string) error
Set is Word Setter 关键词,长度大于0
type TaobaoWangwangAbstractDeletewordAPIResponse ¶
type TaobaoWangwangAbstractDeletewordAPIResponse struct { model.CommonResponse TaobaoWangwangAbstractDeletewordAPIResponseModel }
TaobaoWangwangAbstractDeletewordAPIResponse
删除关键词 API返回值 taobao.wangwang.abstract.deleteword
删除关键词,只支持json返回
type TaobaoWangwangAbstractDeletewordAPIResponseModel ¶ added in v1.2.0
type TaobaoWangwangAbstractDeletewordAPIResponseModel struct { XMLName xml.Name `xml:"wangwang_abstract_deleteword_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 0或-1,表示错误或正确,错误时有错误信息 RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"` // 例如单词长度太长等 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` }
TaobaoWangwangAbstractDeletewordAPIResponseModel is 删除关键词 成功返回结果
type TaobaoWangwangAbstractGetwordlistAPIRequest ¶ added in v1.2.0
type TaobaoWangwangAbstractGetwordlistAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWangwangAbstractGetwordlistAPIRequest
获取关键词列表 API请求 taobao.wangwang.abstract.getwordlist
获取关键词列表,只支持json返回
func NewTaobaoWangwangAbstractGetwordlistRequest ¶
func NewTaobaoWangwangAbstractGetwordlistRequest() *TaobaoWangwangAbstractGetwordlistAPIRequest
NewTaobaoWangwangAbstractGetwordlistRequest 初始化TaobaoWangwangAbstractGetwordlistAPIRequest对象
func (TaobaoWangwangAbstractGetwordlistAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWangwangAbstractGetwordlistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWangwangAbstractGetwordlistAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWangwangAbstractGetwordlistAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWangwangAbstractGetwordlistAPIRequest) GetCharset ¶ added in v1.2.0
func (r TaobaoWangwangAbstractGetwordlistAPIRequest) GetCharset() string
Get Charset Getter
func (*TaobaoWangwangAbstractGetwordlistAPIRequest) SetCharset ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractGetwordlistAPIRequest) SetCharset(_charset string) error
Set is Charset Setter 传入参数的字符集
type TaobaoWangwangAbstractGetwordlistAPIResponse ¶
type TaobaoWangwangAbstractGetwordlistAPIResponse struct { model.CommonResponse TaobaoWangwangAbstractGetwordlistAPIResponseModel }
TaobaoWangwangAbstractGetwordlistAPIResponse
获取关键词列表 API返回值 taobao.wangwang.abstract.getwordlist
获取关键词列表,只支持json返回
type TaobaoWangwangAbstractGetwordlistAPIResponseModel ¶ added in v1.2.0
type TaobaoWangwangAbstractGetwordlistAPIResponseModel struct { XMLName xml.Name `xml:"wangwang_abstract_getwordlist_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 0或-1,表示错误或正确,错误时有错误信息 RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"` // 例如单词长度太长等,ret_code=-1才有 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 关键词列表,ret_code=0才有 WordLists []WordList `json:"word_lists,omitempty" xml:"word_lists>word_list,omitempty"` }
TaobaoWangwangAbstractGetwordlistAPIResponseModel is 获取关键词列表 成功返回结果
type TaobaoWangwangAbstractInitializeAPIRequest ¶ added in v1.2.0
type TaobaoWangwangAbstractInitializeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWangwangAbstractInitializeAPIRequest
模糊查询服务初始化 API请求 taobao.wangwang.abstract.initialize
模糊查询服务初始化,只支持json返回
func NewTaobaoWangwangAbstractInitializeRequest ¶
func NewTaobaoWangwangAbstractInitializeRequest() *TaobaoWangwangAbstractInitializeAPIRequest
NewTaobaoWangwangAbstractInitializeRequest 初始化TaobaoWangwangAbstractInitializeAPIRequest对象
func (TaobaoWangwangAbstractInitializeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWangwangAbstractInitializeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWangwangAbstractInitializeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWangwangAbstractInitializeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWangwangAbstractInitializeAPIRequest) GetCharset ¶ added in v1.2.0
func (r TaobaoWangwangAbstractInitializeAPIRequest) GetCharset() string
Get Charset Getter
func (*TaobaoWangwangAbstractInitializeAPIRequest) SetCharset ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractInitializeAPIRequest) SetCharset(_charset string) error
Set is Charset Setter 传入参数的字符集
type TaobaoWangwangAbstractInitializeAPIResponse ¶
type TaobaoWangwangAbstractInitializeAPIResponse struct { model.CommonResponse TaobaoWangwangAbstractInitializeAPIResponseModel }
TaobaoWangwangAbstractInitializeAPIResponse
模糊查询服务初始化 API返回值 taobao.wangwang.abstract.initialize
模糊查询服务初始化,只支持json返回
type TaobaoWangwangAbstractInitializeAPIResponseModel ¶ added in v1.2.0
type TaobaoWangwangAbstractInitializeAPIResponseModel struct { XMLName xml.Name `xml:"wangwang_abstract_initialize_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 0或-1表示成功或失败 RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"` // 当ret_code=-1时这个变量才有 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` }
TaobaoWangwangAbstractInitializeAPIResponseModel is 模糊查询服务初始化 成功返回结果
type TaobaoWangwangAbstractLogqueryAPIRequest ¶ added in v1.2.0
type TaobaoWangwangAbstractLogqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWangwangAbstractLogqueryAPIRequest
模糊聊天记录查询 API请求 taobao.wangwang.abstract.logquery
模糊聊天记录查询
func NewTaobaoWangwangAbstractLogqueryRequest ¶
func NewTaobaoWangwangAbstractLogqueryRequest() *TaobaoWangwangAbstractLogqueryAPIRequest
NewTaobaoWangwangAbstractLogqueryRequest 初始化TaobaoWangwangAbstractLogqueryAPIRequest对象
func (TaobaoWangwangAbstractLogqueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWangwangAbstractLogqueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWangwangAbstractLogqueryAPIRequest) GetCharset ¶ added in v1.2.0
func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetCharset() string
Get Charset Getter
func (TaobaoWangwangAbstractLogqueryAPIRequest) GetCount ¶ added in v1.2.0
func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetCount() int64
Get Count Getter
func (TaobaoWangwangAbstractLogqueryAPIRequest) GetEndDate ¶ added in v1.2.0
func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetEndDate() int64
Get EndDate Getter
func (TaobaoWangwangAbstractLogqueryAPIRequest) GetFromId ¶ added in v1.2.0
func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetFromId() string
Get FromId Getter
func (TaobaoWangwangAbstractLogqueryAPIRequest) GetNextKey ¶ added in v1.2.0
func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetNextKey() string
Get NextKey Getter
func (TaobaoWangwangAbstractLogqueryAPIRequest) GetStartDate ¶ added in v1.2.0
func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetStartDate() int64
Get StartDate Getter
func (TaobaoWangwangAbstractLogqueryAPIRequest) GetToId ¶ added in v1.2.0
func (r TaobaoWangwangAbstractLogqueryAPIRequest) GetToId() string
Get ToId Getter
func (*TaobaoWangwangAbstractLogqueryAPIRequest) SetCharset ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetCharset(_charset string) error
Set is Charset Setter 传入参数的字符集
func (*TaobaoWangwangAbstractLogqueryAPIRequest) SetCount ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetCount(_count int64) error
Set is Count Setter 获取记录条数,默认值是1000
func (*TaobaoWangwangAbstractLogqueryAPIRequest) SetEndDate ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetEndDate(_endDate int64) error
Set is EndDate Setter utc
func (*TaobaoWangwangAbstractLogqueryAPIRequest) SetFromId ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetFromId(_fromId string) error
Set is FromId Setter 卖家id,有cntaobao前缀
func (*TaobaoWangwangAbstractLogqueryAPIRequest) SetNextKey ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetNextKey(_nextKey string) error
Set is NextKey Setter 设置了这个值,那么聊天记录就从这个点开始查询
func (*TaobaoWangwangAbstractLogqueryAPIRequest) SetStartDate ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetStartDate(_startDate int64) error
Set is StartDate Setter utc
func (*TaobaoWangwangAbstractLogqueryAPIRequest) SetToId ¶ added in v1.2.0
func (r *TaobaoWangwangAbstractLogqueryAPIRequest) SetToId(_toId string) error
Set is ToId Setter 买家id,有cntaobao前缀
type TaobaoWangwangAbstractLogqueryAPIResponse ¶
type TaobaoWangwangAbstractLogqueryAPIResponse struct { model.CommonResponse TaobaoWangwangAbstractLogqueryAPIResponseModel }
TaobaoWangwangAbstractLogqueryAPIResponse
模糊聊天记录查询 API返回值 taobao.wangwang.abstract.logquery
模糊聊天记录查询
type TaobaoWangwangAbstractLogqueryAPIResponseModel ¶ added in v1.2.0
type TaobaoWangwangAbstractLogqueryAPIResponseModel struct { XMLName xml.Name `xml:"wangwang_abstract_logquery_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 0或-1,表示错误或正确,错误时有错误信息.<br/>为-1时就只有error_msg字段是有效的。 RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"` // 例如单词长度太长等。<br/>当ret_code不为0时这个值存在。 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 卖家id FromId string `json:"from_id,omitempty" xml:"from_id,omitempty"` // 买家id ToId string `json:"to_id,omitempty" xml:"to_id,omitempty"` // 当direction为1时有效,url列表 UrlLists []UrlList `json:"url_lists,omitempty" xml:"url_lists>url_list,omitempty"` // 当direction为1时有效,关键词统计列表 WordCountLists []WordCountList `json:"word_count_lists,omitempty" xml:"word_count_lists>word_count_list,omitempty"` // 0或1<br/>其他返回时,是由于用户名等参数设置有误等引起的远端服务错误 IsSliced int64 `json:"is_sliced,omitempty" xml:"is_sliced,omitempty"` // 当is_sliced为1时有效 NextKey string `json:"next_key,omitempty" xml:"next_key,omitempty"` // 消息列表 MsgLists []MsgList `json:"msg_lists,omitempty" xml:"msg_lists>msg_list,omitempty"` }
TaobaoWangwangAbstractLogqueryAPIResponseModel is 模糊聊天记录查询 成功返回结果
type TaobaoWangwangEserviceChatrelationGetAPIRequest ¶ added in v1.2.0
type TaobaoWangwangEserviceChatrelationGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWangwangEserviceChatrelationGetAPIRequest
聊天关系获取接口 API请求 taobao.wangwang.eservice.chatrelation.get
获取指定时间区间内的聊天关系(查询账号,和谁,在哪天说过话)。如: A 和 B 在2016-09-01 和 2016-09-02 都说过话。以A为查询账号,则该接口将返回: 2016-09-01, B 2016-09-02, B
func NewTaobaoWangwangEserviceChatrelationGetRequest ¶
func NewTaobaoWangwangEserviceChatrelationGetRequest() *TaobaoWangwangEserviceChatrelationGetAPIRequest
NewTaobaoWangwangEserviceChatrelationGetRequest 初始化TaobaoWangwangEserviceChatrelationGetAPIRequest对象
func (TaobaoWangwangEserviceChatrelationGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWangwangEserviceChatrelationGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWangwangEserviceChatrelationGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWangwangEserviceChatrelationGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWangwangEserviceChatrelationGetAPIRequest) GetChatRelationRequest ¶ added in v1.2.0
func (r TaobaoWangwangEserviceChatrelationGetAPIRequest) GetChatRelationRequest() *ChatRelationRequest
Get ChatRelationRequest Getter
func (*TaobaoWangwangEserviceChatrelationGetAPIRequest) SetChatRelationRequest ¶ added in v1.2.0
func (r *TaobaoWangwangEserviceChatrelationGetAPIRequest) SetChatRelationRequest(_chatRelationRequest *ChatRelationRequest) error
Set is ChatRelationRequest Setter 请求参数
type TaobaoWangwangEserviceChatrelationGetAPIResponse ¶
type TaobaoWangwangEserviceChatrelationGetAPIResponse struct { model.CommonResponse TaobaoWangwangEserviceChatrelationGetAPIResponseModel }
TaobaoWangwangEserviceChatrelationGetAPIResponse
聊天关系获取接口 API返回值 taobao.wangwang.eservice.chatrelation.get
获取指定时间区间内的聊天关系(查询账号,和谁,在哪天说过话)。如: A 和 B 在2016-09-01 和 2016-09-02 都说过话。以A为查询账号,则该接口将返回: 2016-09-01, B 2016-09-02, B
type TaobaoWangwangEserviceChatrelationGetAPIResponseModel ¶ added in v1.2.0
type TaobaoWangwangEserviceChatrelationGetAPIResponseModel struct { XMLName xml.Name `xml:"wangwang_eservice_chatrelation_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *ChatRelationResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoWangwangEserviceChatrelationGetAPIResponseModel is 聊天关系获取接口 成功返回结果
type UrlList ¶
type UrlList struct { // url列表 Url string `json:"url,omitempty" xml:"url,omitempty"` }
UrlList 结构体
type WordCountList ¶
type WordCountList struct { // 关键词 Word string `json:"word,omitempty" xml:"word,omitempty"` // 关键词数量 Count int64 `json:"count,omitempty" xml:"count,omitempty"` }
WordCountList 结构体
Source Files ¶
- ChatPeer.go
- ChatRelationRequest.go
- ChatRelationResult.go
- EvalDetail.go
- MsgList.go
- TaobaoQianniuKefuevalGetAPIRequest.go
- TaobaoQianniuKefuevalGetAPIResponse.go
- TaobaoWangwangAbstractAddwordAPIRequest.go
- TaobaoWangwangAbstractAddwordAPIResponse.go
- TaobaoWangwangAbstractDeletewordAPIRequest.go
- TaobaoWangwangAbstractDeletewordAPIResponse.go
- TaobaoWangwangAbstractGetwordlistAPIRequest.go
- TaobaoWangwangAbstractGetwordlistAPIResponse.go
- TaobaoWangwangAbstractInitializeAPIRequest.go
- TaobaoWangwangAbstractInitializeAPIResponse.go
- TaobaoWangwangAbstractLogqueryAPIRequest.go
- TaobaoWangwangAbstractLogqueryAPIResponse.go
- TaobaoWangwangEserviceChatrelationGetAPIRequest.go
- TaobaoWangwangEserviceChatrelationGetAPIResponse.go
- UrlList.go
- WordCountList.go
- WordList.go
- doc.go