user

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

用户API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountAliyuncsComGetPubKey2013_07_01APIRequest added in v1.2.0

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

获取用户公钥 API请求 account.aliyuncs.com.GetPubKey.2013-07-01

根据用户的appkey查询用户的pubkey

func NewAccountAliyuncsComGetPubKey2013_07_01Request

func NewAccountAliyuncsComGetPubKey2013_07_01Request() *AccountAliyuncsComGetPubKey2013_07_01APIRequest

NewAccountAliyuncsComGetPubKey2013_07_01Request 初始化AccountAliyuncsComGetPubKey2013_07_01APIRequest对象

func (AccountAliyuncsComGetPubKey2013_07_01APIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AccountAliyuncsComGetPubKey2013_07_01APIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AccountAliyuncsComGetPubKey2013_07_01APIRequest) GetOwnerAppkey added in v1.2.0

Get OwnerAppkey Getter

func (*AccountAliyuncsComGetPubKey2013_07_01APIRequest) SetOwnerAppkey added in v1.2.0

func (r *AccountAliyuncsComGetPubKey2013_07_01APIRequest) SetOwnerAppkey(_ownerAppkey string) error

Set is OwnerAppkey Setter appkey

type AccountAliyuncsComGetPubKey2013_07_01APIResponse

type AccountAliyuncsComGetPubKey2013_07_01APIResponse struct {
	model.CommonResponse
	AccountAliyuncsComGetPubKey2013_07_01APIResponseModel
}
AccountAliyuncsComGetPubKey2013_07_01APIResponse

获取用户公钥 API返回值 account.aliyuncs.com.GetPubKey.2013-07-01

根据用户的appkey查询用户的pubkey

type AccountAliyuncsComGetPubKey2013_07_01APIResponseModel added in v1.2.0

type AccountAliyuncsComGetPubKey2013_07_01APIResponseModel struct {
	XMLName xml.Name `xml:"account_aliyuncs_com_GetPubKey_2013-07-01_response"`
	// 用户的公钥
	PubKey string `json:"PubKey,omitempty" xml:"PubKey,omitempty"`
	// appkey的OwnerId
	OwnerId string `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// 用户appkey的类型
	KeyType string `json:"KeyType,omitempty" xml:"KeyType,omitempty"`
	// 创建key的时间
	CreateTime string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// RequestId
	RequestId string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Message
	Message string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 返回code
	Code string `json:"Code,omitempty" xml:"Code,omitempty"`
	// 用户的appkey
	AppKey string `json:"AppKey,omitempty" xml:"AppKey,omitempty"`
}

AccountAliyuncsComGetPubKey2013_07_01APIResponseModel is 获取用户公钥 成功返回结果

type AlibabaAilabsUserSpeechGuideAPIRequest added in v1.2.0

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

引导语推荐接口 API请求 alibaba.ailabs.user.speech.guide

根据用户的语音query,返回相应的引导语推荐

func NewAlibabaAilabsUserSpeechGuideRequest

func NewAlibabaAilabsUserSpeechGuideRequest() *AlibabaAilabsUserSpeechGuideAPIRequest

NewAlibabaAilabsUserSpeechGuideRequest 初始化AlibabaAilabsUserSpeechGuideAPIRequest对象

func (AlibabaAilabsUserSpeechGuideAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAilabsUserSpeechGuideAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAilabsUserSpeechGuideAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAilabsUserSpeechGuideAPIRequest) GetQuery added in v1.2.0

Get Query Getter

func (*AlibabaAilabsUserSpeechGuideAPIRequest) SetQuery added in v1.2.0

Set is Query Setter 用户query

type AlibabaAilabsUserSpeechGuideAPIResponse

type AlibabaAilabsUserSpeechGuideAPIResponse struct {
	model.CommonResponse
	AlibabaAilabsUserSpeechGuideAPIResponseModel
}
AlibabaAilabsUserSpeechGuideAPIResponse

引导语推荐接口 API返回值 alibaba.ailabs.user.speech.guide

根据用户的语音query,返回相应的引导语推荐

type AlibabaAilabsUserSpeechGuideAPIResponseModel added in v1.2.0

type AlibabaAilabsUserSpeechGuideAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ailabs_user_speech_guide_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaAilabsUserSpeechGuideResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAilabsUserSpeechGuideAPIResponseModel is 引导语推荐接口 成功返回结果

type AlibabaAilabsUserSpeechGuideResult

type AlibabaAilabsUserSpeechGuideResult struct {
	// 推荐信息model
	RetValue *RecommendInfo `json:"ret_value,omitempty" xml:"ret_value,omitempty"`
	// 0表示成功
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 出错信息
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
}

AlibabaAilabsUserSpeechGuideResult 结构体

type AlibabaAliqinFlowWalletCheckBalanceAPIRequest added in v1.2.0

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

商家预存余额检查 API请求 alibaba.aliqin.flow.wallet.check.balance

检查商家CRM预存余额是否足够进行活动

func NewAlibabaAliqinFlowWalletCheckBalanceRequest

func NewAlibabaAliqinFlowWalletCheckBalanceRequest() *AlibabaAliqinFlowWalletCheckBalanceAPIRequest

NewAlibabaAliqinFlowWalletCheckBalanceRequest 初始化AlibabaAliqinFlowWalletCheckBalanceAPIRequest对象

func (AlibabaAliqinFlowWalletCheckBalanceAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowWalletCheckBalanceAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowWalletCheckBalanceAPIRequest) GetGradeId added in v1.2.0

Get GradeId Getter

func (*AlibabaAliqinFlowWalletCheckBalanceAPIRequest) SetGradeId added in v1.2.0

Set is GradeId Setter 检查金额档位id

type AlibabaAliqinFlowWalletCheckBalanceAPIResponse

type AlibabaAliqinFlowWalletCheckBalanceAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowWalletCheckBalanceAPIResponseModel
}
AlibabaAliqinFlowWalletCheckBalanceAPIResponse

商家预存余额检查 API返回值 alibaba.aliqin.flow.wallet.check.balance

检查商家CRM预存余额是否足够进行活动

type AlibabaAliqinFlowWalletCheckBalanceAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowWalletCheckBalanceAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_wallet_check_balance_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 余额�是否大于校验值,大于�返回true,�小于返回false
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

AlibabaAliqinFlowWalletCheckBalanceAPIResponseModel is 商家预存余额检查 成功返回结果

type AlibabaBenefitSendAPIRequest added in v1.2.0

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

发奖接口 API请求 alibaba.benefit.send

发奖接口

func NewAlibabaBenefitSendRequest

func NewAlibabaBenefitSendRequest() *AlibabaBenefitSendAPIRequest

NewAlibabaBenefitSendRequest 初始化AlibabaBenefitSendAPIRequest对象

func (AlibabaBenefitSendAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaBenefitSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaBenefitSendAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaBenefitSendAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaBenefitSendAPIRequest) GetAppName added in v1.2.0

func (r AlibabaBenefitSendAPIRequest) GetAppName() string

Get AppName Getter

func (AlibabaBenefitSendAPIRequest) GetIp added in v1.2.0

Get Ip Getter

func (AlibabaBenefitSendAPIRequest) GetReceiverId added in v1.2.0

func (r AlibabaBenefitSendAPIRequest) GetReceiverId() string

Get ReceiverId Getter

func (AlibabaBenefitSendAPIRequest) GetRightEname added in v1.2.0

func (r AlibabaBenefitSendAPIRequest) GetRightEname() string

Get RightEname Getter

func (AlibabaBenefitSendAPIRequest) GetUniqueId added in v1.2.0

func (r AlibabaBenefitSendAPIRequest) GetUniqueId() string

Get UniqueId Getter

func (AlibabaBenefitSendAPIRequest) GetUserType added in v1.2.0

func (r AlibabaBenefitSendAPIRequest) GetUserType() string

Get UserType Getter

func (*AlibabaBenefitSendAPIRequest) SetAppName added in v1.2.0

func (r *AlibabaBenefitSendAPIRequest) SetAppName(_appName string) error

Set is AppName Setter mtop

func (*AlibabaBenefitSendAPIRequest) SetIp added in v1.2.0

Set is Ip Setter 调用应用ip,非必填

func (*AlibabaBenefitSendAPIRequest) SetReceiverId added in v1.2.0

func (r *AlibabaBenefitSendAPIRequest) SetReceiverId(_receiverId string) error

Set is ReceiverId Setter 接收奖品的用户openId

func (*AlibabaBenefitSendAPIRequest) SetRightEname added in v1.2.0

func (r *AlibabaBenefitSendAPIRequest) SetRightEname(_rightEname string) error

Set is RightEname Setter 发放的权益(奖品)唯一标识

func (*AlibabaBenefitSendAPIRequest) SetUniqueId added in v1.2.0

func (r *AlibabaBenefitSendAPIRequest) SetUniqueId(_uniqueId string) error

Set is UniqueId Setter 幂等校验id,业务重试需要,自定义唯一字段即可

func (*AlibabaBenefitSendAPIRequest) SetUserType added in v1.2.0

func (r *AlibabaBenefitSendAPIRequest) SetUserType(_userType string) error

Set is UserType Setter 规定填taobao即可

type AlibabaBenefitSendAPIResponse

type AlibabaBenefitSendAPIResponse struct {
	model.CommonResponse
	AlibabaBenefitSendAPIResponseModel
}
AlibabaBenefitSendAPIResponse

发奖接口 API返回值 alibaba.benefit.send

发奖接口

type AlibabaBenefitSendAPIResponseModel added in v1.2.0

type AlibabaBenefitSendAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_benefit_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回消息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 接口返回代码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 是否处理成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
	// 权益id
	RightId int64 `json:"right_id,omitempty" xml:"right_id,omitempty"`
	// 奖品名称
	PrizeName string `json:"prize_name,omitempty" xml:"prize_name,omitempty"`
}

AlibabaBenefitSendAPIResponseModel is 发奖接口 成功返回结果

type AlibabaBeneiftDrawAPIRequest added in v1.2.0

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

抽奖接口 API请求 alibaba.beneift.draw

抽奖接口

func NewAlibabaBeneiftDrawRequest

func NewAlibabaBeneiftDrawRequest() *AlibabaBeneiftDrawAPIRequest

NewAlibabaBeneiftDrawRequest 初始化AlibabaBeneiftDrawAPIRequest对象

func (AlibabaBeneiftDrawAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaBeneiftDrawAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaBeneiftDrawAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaBeneiftDrawAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaBeneiftDrawAPIRequest) GetAppName added in v1.2.0

func (r AlibabaBeneiftDrawAPIRequest) GetAppName() string

Get AppName Getter

func (AlibabaBeneiftDrawAPIRequest) GetEname added in v1.2.0

func (r AlibabaBeneiftDrawAPIRequest) GetEname() string

Get Ename Getter

func (AlibabaBeneiftDrawAPIRequest) GetIp added in v1.2.0

Get Ip Getter

func (*AlibabaBeneiftDrawAPIRequest) SetAppName added in v1.2.0

func (r *AlibabaBeneiftDrawAPIRequest) SetAppName(_appName string) error

Set is AppName Setter 调用方AppName:规定为promotioncenter-${appId}

func (*AlibabaBeneiftDrawAPIRequest) SetEname added in v1.2.0

func (r *AlibabaBeneiftDrawAPIRequest) SetEname(_ename string) error

Set is Ename Setter 奖池唯一标识,奖池创建时即生成

func (*AlibabaBeneiftDrawAPIRequest) SetIp added in v1.2.0

Set is Ip Setter 调用方应用ip,非必填

type AlibabaBeneiftDrawAPIResponse

type AlibabaBeneiftDrawAPIResponse struct {
	model.CommonResponse
	AlibabaBeneiftDrawAPIResponseModel
}
AlibabaBeneiftDrawAPIResponse

抽奖接口 API返回值 alibaba.beneift.draw

抽奖接口

type AlibabaBeneiftDrawAPIResponseModel added in v1.2.0

type AlibabaBeneiftDrawAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_beneift_draw_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
	// message
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 权益id
	RightId string `json:"right_id,omitempty" xml:"right_id,omitempty"`
	// 奖品id
	PrizeId string `json:"prize_id,omitempty" xml:"prize_id,omitempty"`
}

AlibabaBeneiftDrawAPIResponseModel is 抽奖接口 成功返回结果

type AlibabaInteractUiVideoAPIRequest added in v1.2.0

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

视频播放 API请求 alibaba.interact.ui.video

Weex页面播放视频

func NewAlibabaInteractUiVideoRequest

func NewAlibabaInteractUiVideoRequest() *AlibabaInteractUiVideoAPIRequest

NewAlibabaInteractUiVideoRequest 初始化AlibabaInteractUiVideoAPIRequest对象

func (AlibabaInteractUiVideoAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractUiVideoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractUiVideoAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaInteractUiVideoAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractUiVideoAPIRequest) GetUnnamed added in v1.2.0

Get Unnamed Getter

func (*AlibabaInteractUiVideoAPIRequest) SetUnnamed added in v1.2.0

func (r *AlibabaInteractUiVideoAPIRequest) SetUnnamed(_unnamed string) error

Set is Unnamed Setter 仅作鉴权使用,没有实际数据传输

type AlibabaInteractUiVideoAPIResponse

type AlibabaInteractUiVideoAPIResponse struct {
	model.CommonResponse
	AlibabaInteractUiVideoAPIResponseModel
}
AlibabaInteractUiVideoAPIResponse

视频播放 API返回值 alibaba.interact.ui.video

Weex页面播放视频

type AlibabaInteractUiVideoAPIResponseModel added in v1.2.0

type AlibabaInteractUiVideoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_ui_video_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 仅作鉴权使用,没有实际数据传输
	Unnamed string `json:"unnamed,omitempty" xml:"unnamed,omitempty"`
}

AlibabaInteractUiVideoAPIResponseModel is 视频播放 成功返回结果

type AlibabaLsyCrmCreateAPIRequest added in v1.2.0

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

创建客资 API请求 alibaba.lsy.crm.create

欢客调用该接口进行客资创建

func NewAlibabaLsyCrmCreateRequest

func NewAlibabaLsyCrmCreateRequest() *AlibabaLsyCrmCreateAPIRequest

NewAlibabaLsyCrmCreateRequest 初始化AlibabaLsyCrmCreateAPIRequest对象

func (AlibabaLsyCrmCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLsyCrmCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmCreateAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaLsyCrmCreateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmCreateAPIRequest) GetNrtRecordDto added in v1.2.0

func (r AlibabaLsyCrmCreateAPIRequest) GetNrtRecordDto() *NrtRecordDto

Get NrtRecordDto Getter

func (*AlibabaLsyCrmCreateAPIRequest) SetNrtRecordDto added in v1.2.0

func (r *AlibabaLsyCrmCreateAPIRequest) SetNrtRecordDto(_nrtRecordDto *NrtRecordDto) error

Set is NrtRecordDto Setter 客资记录对象

type AlibabaLsyCrmCreateAPIResponse

type AlibabaLsyCrmCreateAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmCreateAPIResponseModel
}
AlibabaLsyCrmCreateAPIResponse

创建客资 API返回值 alibaba.lsy.crm.create

欢客调用该接口进行客资创建

type AlibabaLsyCrmCreateAPIResponseModel added in v1.2.0

type AlibabaLsyCrmCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误提示
	FailMsg string `json:"fail_msg,omitempty" xml:"fail_msg,omitempty"`
	// 错误码
	FailCode string `json:"fail_code,omitempty" xml:"fail_code,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// 返回的数据
	Data *NrtCreateRecordReturnDto `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaLsyCrmCreateAPIResponseModel is 创建客资 成功返回结果

type AlibabaLsyCrmUpdateAPIRequest added in v1.2.0

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

跟进客资状态接口 API请求 alibaba.lsy.crm.update

同步客资状态接口

func NewAlibabaLsyCrmUpdateRequest

func NewAlibabaLsyCrmUpdateRequest() *AlibabaLsyCrmUpdateAPIRequest

NewAlibabaLsyCrmUpdateRequest 初始化AlibabaLsyCrmUpdateAPIRequest对象

func (AlibabaLsyCrmUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLsyCrmUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmUpdateAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaLsyCrmUpdateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmUpdateAPIRequest) GetNrtUpdateRecordStatusDto added in v1.2.0

func (r AlibabaLsyCrmUpdateAPIRequest) GetNrtUpdateRecordStatusDto() *NrtUpdateRecordStatusDto

Get NrtUpdateRecordStatusDto Getter

func (*AlibabaLsyCrmUpdateAPIRequest) SetNrtUpdateRecordStatusDto added in v1.2.0

func (r *AlibabaLsyCrmUpdateAPIRequest) SetNrtUpdateRecordStatusDto(_nrtUpdateRecordStatusDto *NrtUpdateRecordStatusDto) error

Set is NrtUpdateRecordStatusDto Setter 更新客资状态对象

type AlibabaLsyCrmUpdateAPIResponse

type AlibabaLsyCrmUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmUpdateAPIResponseModel
}
AlibabaLsyCrmUpdateAPIResponse

跟进客资状态接口 API返回值 alibaba.lsy.crm.update

同步客资状态接口

type AlibabaLsyCrmUpdateAPIResponseModel added in v1.2.0

type AlibabaLsyCrmUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误提示
	FailMsg string `json:"fail_msg,omitempty" xml:"fail_msg,omitempty"`
	// 错误码
	FailCode string `json:"fail_code,omitempty" xml:"fail_code,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// 是否成功跟进客资状态
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaLsyCrmUpdateAPIResponseModel is 跟进客资状态接口 成功返回结果

type AlibabaLsyMiniappUserGetAPIRequest added in v1.2.0

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

零售云小程序获取登录用户信息 API请求 alibaba.lsy.miniapp.user.get

零售云小程序,通过授权码获取登录的卖家账号信息

func NewAlibabaLsyMiniappUserGetRequest

func NewAlibabaLsyMiniappUserGetRequest() *AlibabaLsyMiniappUserGetAPIRequest

NewAlibabaLsyMiniappUserGetRequest 初始化AlibabaLsyMiniappUserGetAPIRequest对象

func (AlibabaLsyMiniappUserGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLsyMiniappUserGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyMiniappUserGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyMiniappUserGetAPIRequest) GetAppId added in v1.2.0

Get AppId Getter

func (AlibabaLsyMiniappUserGetAPIRequest) GetCode added in v1.2.0

Get Code Getter

func (AlibabaLsyMiniappUserGetAPIRequest) GetSignature added in v1.2.0

func (r AlibabaLsyMiniappUserGetAPIRequest) GetSignature() string

Get Signature Getter

func (AlibabaLsyMiniappUserGetAPIRequest) GetTimeStamp added in v1.2.0

func (r AlibabaLsyMiniappUserGetAPIRequest) GetTimeStamp() string

Get TimeStamp Getter

func (*AlibabaLsyMiniappUserGetAPIRequest) SetAppId added in v1.2.0

func (r *AlibabaLsyMiniappUserGetAPIRequest) SetAppId(_appId string) error

Set is AppId Setter 系统分配的小程序ID

func (*AlibabaLsyMiniappUserGetAPIRequest) SetCode added in v1.2.0

Set is Code Setter 获取用户信息的授权码,在小程序中获取

func (*AlibabaLsyMiniappUserGetAPIRequest) SetSignature added in v1.2.0

func (r *AlibabaLsyMiniappUserGetAPIRequest) SetSignature(_signature string) error

Set is Signature Setter 请求参数签名,sha1(所有入参+appSecret,按字符串升序排列)

func (*AlibabaLsyMiniappUserGetAPIRequest) SetTimeStamp added in v1.2.0

func (r *AlibabaLsyMiniappUserGetAPIRequest) SetTimeStamp(_timeStamp string) error

Set is TimeStamp Setter 当前时间戳,毫秒

type AlibabaLsyMiniappUserGetAPIResponse

type AlibabaLsyMiniappUserGetAPIResponse struct {
	model.CommonResponse
	AlibabaLsyMiniappUserGetAPIResponseModel
}
AlibabaLsyMiniappUserGetAPIResponse

零售云小程序获取登录用户信息 API返回值 alibaba.lsy.miniapp.user.get

零售云小程序,通过授权码获取登录的卖家账号信息

type AlibabaLsyMiniappUserGetAPIResponseModel added in v1.2.0

type AlibabaLsyMiniappUserGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_miniapp_user_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应内容
	Result *MiniAppResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLsyMiniappUserGetAPIResponseModel is 零售云小程序获取登录用户信息 成功返回结果

type DownNormalMessageDto

type DownNormalMessageDto struct {
	// 消息内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 消息创建时间
	CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 消息接受者openId
	ReceiverId string `json:"receiver_id,omitempty" xml:"receiver_id,omitempty"`
	// 消息类型
	ContentType string `json:"content_type,omitempty" xml:"content_type,omitempty"`
	// 轻店铺appId
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
}

DownNormalMessageDto 结构体

type EleUicInfo

type EleUicInfo struct {
	// 用户头像
	Avatar string `json:"avatar,omitempty" xml:"avatar,omitempty"`
	// 用户昵称
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// openId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
}

EleUicInfo 结构体

type ErrorMessage

type ErrorMessage struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

ErrorMessage 结构体

type MassMessageDto

type MassMessageDto struct {
	// 创建时间
	CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 内容类型
	ContentType string `json:"content_type,omitempty" xml:"content_type,omitempty"`
	// 任务名称
	TaskName string `json:"task_name,omitempty" xml:"task_name,omitempty"`
}

MassMessageDto 结构体

type MiniAppResult

type MiniAppResult struct {
	// 错误提示
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// 用户数据
	Data *UserInfoDto `json:"data,omitempty" xml:"data,omitempty"`
}

MiniAppResult 结构体

type NormalMessageDto

type NormalMessageDto struct {
	// 内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 时间戳
	CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 接收者ID
	ReceiverId string `json:"receiver_id,omitempty" xml:"receiver_id,omitempty"`
	// 类型
	ContentType string `json:"content_type,omitempty" xml:"content_type,omitempty"`
}

NormalMessageDto 结构体

type NrtCreateRecordReturnDto added in v1.2.0

type NrtCreateRecordReturnDto struct {
	// 创建客资生成的客资记录ID
	RecordId int64 `json:"record_id,omitempty" xml:"record_id,omitempty"`
}

NrtCreateRecordReturnDto 结构体

type NrtRecordDto

type NrtRecordDto struct {
	// 业务类型
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 省编码
	ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 市编码
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 0-预约到店  4-折扣卡  5-有价礼包  11-一口价订单  14-POS订单  17-其他
	Channel int64 `json:"channel,omitempty" xml:"channel,omitempty"`
	// 创建人ID
	CreatorId int64 `json:"creator_id,omitempty" xml:"creator_id,omitempty"`
	// 创建人姓名
	CreatorName string `json:"creator_name,omitempty" xml:"creator_name,omitempty"`
	// 导购员ID
	EmployeeId int64 `json:"employee_id,omitempty" xml:"employee_id,omitempty"`
	// 淘宝ID,取不到时可空
	BuyerId string `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`
	// 店铺ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 区编码
	AreaCode string `json:"area_code,omitempty" xml:"area_code,omitempty"`
	// 市名
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 客户手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 区名
	AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"`
	// 客户姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 外部客资记录唯一ID
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 省名
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 客户地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
}

NrtRecordDto 结构体

type NrtUpdateRecordStatusDto

type NrtUpdateRecordStatusDto struct {
	// 客资记录ID
	RecordId int64 `json:"record_id,omitempty" xml:"record_id,omitempty"`
	// 创建人ID
	CreatorId int64 `json:"creator_id,omitempty" xml:"creator_id,omitempty"`
	// 创建人姓名
	CreatorName string `json:"creator_name,omitempty" xml:"creator_name,omitempty"`
	// 导购员ID
	EmployeeId int64 `json:"employee_id,omitempty" xml:"employee_id,omitempty"`
	// 店铺ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 2-已分配  3-已邀约  4-已到店  5-已下单  6-已付款
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

NrtUpdateRecordStatusDto 结构体

type OpenAccount

type OpenAccount struct {
	// 登录名
	LoginId string `json:"login_id,omitempty" xml:"login_id,omitempty"`
	// 帐号创建的设备的ID
	CreateDeviceId string `json:"create_device_id,omitempty" xml:"create_device_id,omitempty"`
	// 支付宝的帐号标识
	AlipayId string `json:"alipay_id,omitempty" xml:"alipay_id,omitempty"`
	// 地区
	Locale string `json:"locale,omitempty" xml:"locale,omitempty"`
	// 银行卡号
	BankCardNo string `json:"bank_card_no,omitempty" xml:"bank_card_no,omitempty"`
	// 开发者自定义账号id
	IsvAccountId string `json:"isv_account_id,omitempty" xml:"isv_account_id,omitempty"`
	// 邮箱
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 头像url
	AvatarUrl string `json:"avatar_url,omitempty" xml:"avatar_url,omitempty"`
	// 银行卡的拥有者姓名
	BankCardOwnerName string `json:"bank_card_owner_name,omitempty" xml:"bank_card_owner_name,omitempty"`
	// 展示名
	DisplayName string `json:"display_name,omitempty" xml:"display_name,omitempty"`
	// 密码salt
	LoginPwdSalt string `json:"login_pwd_salt,omitempty" xml:"login_pwd_salt,omitempty"`
	// 密码
	LoginPwd string `json:"login_pwd,omitempty" xml:"login_pwd,omitempty"`
	// 第三方oauth openid
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 手机
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 账号创建时的位置
	CreateLocation string `json:"create_location,omitempty" xml:"create_location,omitempty"`
	// 自定义扩展信息Map的Json格式
	ExtInfos string `json:"ext_infos,omitempty" xml:"ext_infos,omitempty"`
	// 密码加密强度
	LoginPwdIntensity int64 `json:"login_pwd_intensity,omitempty" xml:"login_pwd_intensity,omitempty"`
	// 账号创建类型:1、通过短信创建,2、ISV批量导入,3、ISV OAuth创建
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 账号状态:1、启用,2、删除,3、禁用
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 加密算法类型:1、代表单纯MD5,2:代表单一Salt的MD5,3、代表根据记录不同后的MD5
	LoginPwdEncryption int64 `json:"login_pwd_encryption,omitempty" xml:"login_pwd_encryption,omitempty"`
	// 1男 2女
	Gender int64 `json:"gender,omitempty" xml:"gender,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 出生日期
	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`
	// 旺旺
	Wangwang string `json:"wangwang,omitempty" xml:"wangwang,omitempty"`
	// 微信
	Weixin string `json:"weixin,omitempty" xml:"weixin,omitempty"`
	// TAOBAO = 1;WEIXIN = 2;WEIBO = 3;QQ = 4;
	OauthPlateform int64 `json:"oauth_plateform,omitempty" xml:"oauth_plateform,omitempty"`
	// Open Account Id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 记录创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 记录上次更新时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 记录的版本号
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
}

OpenAccount 结构体

type OpenAccountResult

type OpenAccountResult struct {
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 是否成功
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
	// Open Account信息
	Data *OpenAccount `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

OpenAccountResult 结构体

type OpenAccountSearchResult

type OpenAccountSearchResult struct {
	// OpenAccount的列表
	Datas []OpenAccount `json:"datas,omitempty" xml:"datas>open_account,omitempty"`
	// 查询是否成功,成功返回时有可能数据为空
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
	// 状态码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 状态信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

OpenAccountSearchResult 结构体

type OpenAccountTokenApplyResult

type OpenAccountTokenApplyResult struct {
	// token
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 是否成功
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
	// 错误码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

OpenAccountTokenApplyResult 结构体

type OpenAccountTokenValidateResult

type OpenAccountTokenValidateResult struct {
	// token中的数据
	Data *TokenInfo `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 是否成功
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
	// 错误码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

OpenAccountTokenValidateResult 结构体

type OpenUserInfoDto

type OpenUserInfoDto struct {
	// 混淆字符串
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 头像链接
	Avatar string `json:"avatar,omitempty" xml:"avatar,omitempty"`
	// snsNick
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
}

OpenUserInfoDto 结构体

type OpenaccountLong

type OpenaccountLong struct {
	// 返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回数据
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 返回码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 是否成功
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
}

OpenaccountLong 结构体

type OpenaccountObject

type OpenaccountObject struct {
	// 返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回数据
	Data *OpenAccount `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
	// 错误码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

OpenaccountObject 结构体

type OpenaccountVoid

type OpenaccountVoid struct {
	// 返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 是否成功
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
	// 错误码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

OpenaccountVoid 结构体

type RecommendGuide

type RecommendGuide struct {
	// 推荐类型
	GuideType string `json:"guide_type,omitempty" xml:"guide_type,omitempty"`
	// 推荐引导语
	GuideUtterance string `json:"guide_utterance,omitempty" xml:"guide_utterance,omitempty"`
}

RecommendGuide 结构体

type RecommendInfo

type RecommendInfo struct {
	// 推荐具体数据list
	RecommendGuides []RecommendGuide `json:"recommend_guides,omitempty" xml:"recommend_guides>recommend_guide,omitempty"`
}

RecommendInfo 结构体

type ReplyMessageDto

type ReplyMessageDto struct {
	// 毫秒时间戳
	CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 来源消息 id
	OriginalMessageId string `json:"original_message_id,omitempty" xml:"original_message_id,omitempty"`
	// 被回复消息发送者
	ReceiverId string `json:"receiver_id,omitempty" xml:"receiver_id,omitempty"`
	// text or mix
	ContentType string `json:"content_type,omitempty" xml:"content_type,omitempty"`
	// 消息内容结构
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 业务消息标记(接受回执消息)
	BizMessageTag string `json:"biz_message_tag,omitempty" xml:"biz_message_tag,omitempty"`
	// 小程序Id
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
}

ReplyMessageDto 结构体

type Resultdata

type Resultdata struct {
	// 1=是AG用户,0=非AG用户
	AgAccount int64 `json:"ag_account,omitempty" xml:"ag_account,omitempty"`
}

Resultdata 结构体

type SettleAdjustmentRequest

type SettleAdjustmentRequest struct {
	// 调整费用,单位分
	Cost int64 `json:"cost,omitempty" xml:"cost,omitempty"`
	// 调整原因描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 调整单ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 调整原因图片url,最后不用加分号,最多三条
	PictureUrls string `json:"picture_urls,omitempty" xml:"picture_urls,omitempty"`
	// 计价因子,填写规则为:1、有计价因子场景:{name:计价因子名称 ,value:数量}如示例。2、没有计价因子场景:填默认值:{name:计价因子,value:0}
	PriceFactors []SettlementPriceFactor `json:"price_factors,omitempty" xml:"price_factors>settlement_price_factor,omitempty"`
	// 调整单类型:1,配件费;2,不符单费;3,拆旧费;4,二次上门;5,胶费;6,打孔费;7,层高费;8,远程费;9,单外费;10,其他
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

SettleAdjustmentRequest 结构体

type SettlementPriceFactor

type SettlementPriceFactor struct {
	// 计价因子属性
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 计价因子实际值
	Value int64 `json:"value,omitempty" xml:"value,omitempty"`
	// 计价说明
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
}

SettlementPriceFactor 结构体

type TaobaoAppstoreSubscribeGetAPIRequest added in v1.2.0

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

查询appstore应用订购关系 API请求 taobao.appstore.subscribe.get

查询appstore应用订购关系(对于新上架的多版本应用,建议使用taobao.vas.subscribe.get)

func NewTaobaoAppstoreSubscribeGetRequest

func NewTaobaoAppstoreSubscribeGetRequest() *TaobaoAppstoreSubscribeGetAPIRequest

NewTaobaoAppstoreSubscribeGetRequest 初始化TaobaoAppstoreSubscribeGetAPIRequest对象

func (TaobaoAppstoreSubscribeGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAppstoreSubscribeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAppstoreSubscribeGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAppstoreSubscribeGetAPIRequest) GetNick added in v1.2.0

Get Nick Getter

func (*TaobaoAppstoreSubscribeGetAPIRequest) SetNick added in v1.2.0

Set is Nick Setter 用户昵称

type TaobaoAppstoreSubscribeGetAPIResponse

type TaobaoAppstoreSubscribeGetAPIResponse struct {
	model.CommonResponse
	TaobaoAppstoreSubscribeGetAPIResponseModel
}
TaobaoAppstoreSubscribeGetAPIResponse

查询appstore应用订购关系 API返回值 taobao.appstore.subscribe.get

查询appstore应用订购关系(对于新上架的多版本应用,建议使用taobao.vas.subscribe.get)

type TaobaoAppstoreSubscribeGetAPIResponseModel added in v1.2.0

type TaobaoAppstoreSubscribeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"appstore_subscribe_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 用户订购信息
	UserSubscribe *UserSubscribe `json:"user_subscribe,omitempty" xml:"user_subscribe,omitempty"`
}

TaobaoAppstoreSubscribeGetAPIResponseModel is 查询appstore应用订购关系 成功返回结果

type TaobaoKoubeiTribeOpenUserQueryAPIRequest added in v1.2.0

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

获取用户openId API请求 taobao.koubei.tribe.open.user.query

口碑综合体通过手机号码获取加密后的用户openId

func NewTaobaoKoubeiTribeOpenUserQueryRequest

func NewTaobaoKoubeiTribeOpenUserQueryRequest() *TaobaoKoubeiTribeOpenUserQueryAPIRequest

NewTaobaoKoubeiTribeOpenUserQueryRequest 初始化TaobaoKoubeiTribeOpenUserQueryAPIRequest对象

func (TaobaoKoubeiTribeOpenUserQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoKoubeiTribeOpenUserQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiTribeOpenUserQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiTribeOpenUserQueryAPIRequest) GetDataSetId added in v1.2.0

Get DataSetId Getter

func (TaobaoKoubeiTribeOpenUserQueryAPIRequest) GetPhone added in v1.2.0

Get Phone Getter

func (TaobaoKoubeiTribeOpenUserQueryAPIRequest) GetVerifyCode added in v1.2.0

Get VerifyCode Getter

func (*TaobaoKoubeiTribeOpenUserQueryAPIRequest) SetDataSetId added in v1.2.0

func (r *TaobaoKoubeiTribeOpenUserQueryAPIRequest) SetDataSetId(_dataSetId string) error

Set is DataSetId Setter 数据集id

func (*TaobaoKoubeiTribeOpenUserQueryAPIRequest) SetPhone added in v1.2.0

Set is Phone Setter 手机号

func (*TaobaoKoubeiTribeOpenUserQueryAPIRequest) SetVerifyCode added in v1.2.0

func (r *TaobaoKoubeiTribeOpenUserQueryAPIRequest) SetVerifyCode(_verifyCode string) error

Set is VerifyCode Setter 验证码

type TaobaoKoubeiTribeOpenUserQueryAPIResponse

type TaobaoKoubeiTribeOpenUserQueryAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiTribeOpenUserQueryAPIResponseModel
}
TaobaoKoubeiTribeOpenUserQueryAPIResponse

获取用户openId API返回值 taobao.koubei.tribe.open.user.query

口碑综合体通过手机号码获取加密后的用户openId

type TaobaoKoubeiTribeOpenUserQueryAPIResponseModel added in v1.2.0

type TaobaoKoubeiTribeOpenUserQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"koubei_tribe_open_user_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoKoubeiTribeOpenUserQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoKoubeiTribeOpenUserQueryAPIResponseModel is 获取用户openId 成功返回结果

type TaobaoKoubeiTribeOpenUserQueryResult

type TaobaoKoubeiTribeOpenUserQueryResult struct {
	// traceId
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 用户信息DTO
	Data *UserInfoDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息
	Error string `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoKoubeiTribeOpenUserQueryResult 结构体

type TaobaoKoubeiTribeOpenVerifyCodeApplyAPIRequest added in v1.2.0

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

口碑综合体手机号获取验证码 API请求 taobao.koubei.tribe.open.verify.code.apply

口碑综合体通过手机号获取验证码对外开放接口

func NewTaobaoKoubeiTribeOpenVerifyCodeApplyRequest

func NewTaobaoKoubeiTribeOpenVerifyCodeApplyRequest() *TaobaoKoubeiTribeOpenVerifyCodeApplyAPIRequest

NewTaobaoKoubeiTribeOpenVerifyCodeApplyRequest 初始化TaobaoKoubeiTribeOpenVerifyCodeApplyAPIRequest对象

func (TaobaoKoubeiTribeOpenVerifyCodeApplyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiTribeOpenVerifyCodeApplyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiTribeOpenVerifyCodeApplyAPIRequest) GetDataSetId added in v1.2.0

Get DataSetId Getter

func (TaobaoKoubeiTribeOpenVerifyCodeApplyAPIRequest) GetPhone added in v1.2.0

Get Phone Getter

func (*TaobaoKoubeiTribeOpenVerifyCodeApplyAPIRequest) SetDataSetId added in v1.2.0

func (r *TaobaoKoubeiTribeOpenVerifyCodeApplyAPIRequest) SetDataSetId(_dataSetId string) error

Set is DataSetId Setter 数据集id

func (*TaobaoKoubeiTribeOpenVerifyCodeApplyAPIRequest) SetPhone added in v1.2.0

Set is Phone Setter 手机号

type TaobaoKoubeiTribeOpenVerifyCodeApplyAPIResponse

type TaobaoKoubeiTribeOpenVerifyCodeApplyAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiTribeOpenVerifyCodeApplyAPIResponseModel
}
TaobaoKoubeiTribeOpenVerifyCodeApplyAPIResponse

口碑综合体手机号获取验证码 API返回值 taobao.koubei.tribe.open.verify.code.apply

口碑综合体通过手机号获取验证码对外开放接口

type TaobaoKoubeiTribeOpenVerifyCodeApplyAPIResponseModel added in v1.2.0

type TaobaoKoubeiTribeOpenVerifyCodeApplyAPIResponseModel struct {
	XMLName xml.Name `xml:"koubei_tribe_open_verify_code_apply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoKoubeiTribeOpenVerifyCodeApplyResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoKoubeiTribeOpenVerifyCodeApplyAPIResponseModel is 口碑综合体手机号获取验证码 成功返回结果

type TaobaoKoubeiTribeOpenVerifyCodeApplyResult

type TaobaoKoubeiTribeOpenVerifyCodeApplyResult struct {
	// traceId
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 用户信息DTO
	Data *UserInfoDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息
	Error string `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoKoubeiTribeOpenVerifyCodeApplyResult 结构体

type TaobaoLarkPosItemprodFindterminalAPIRequest added in v1.2.0

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

终端配置支持 API请求 taobao.lark.pos.itemprod.findterminal

终端配置支持,读取如果不存在则创建和远程的连接配置并返回

func NewTaobaoLarkPosItemprodFindterminalRequest

func NewTaobaoLarkPosItemprodFindterminalRequest() *TaobaoLarkPosItemprodFindterminalAPIRequest

NewTaobaoLarkPosItemprodFindterminalRequest 初始化TaobaoLarkPosItemprodFindterminalAPIRequest对象

func (TaobaoLarkPosItemprodFindterminalAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLarkPosItemprodFindterminalAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLarkPosItemprodFindterminalAPIRequest) GetCinemaId added in v1.2.0

Get CinemaId Getter

func (TaobaoLarkPosItemprodFindterminalAPIRequest) GetCinemaName added in v1.2.0

Get CinemaName Getter

func (TaobaoLarkPosItemprodFindterminalAPIRequest) GetCreateUser added in v1.2.0

Get CreateUser Getter

func (TaobaoLarkPosItemprodFindterminalAPIRequest) GetDeviceId added in v1.2.0

Get DeviceId Getter

func (TaobaoLarkPosItemprodFindterminalAPIRequest) GetDeviceType added in v1.2.0

Get DeviceType Getter

func (TaobaoLarkPosItemprodFindterminalAPIRequest) GetLeaseCode added in v1.2.0

Get LeaseCode Getter

func (*TaobaoLarkPosItemprodFindterminalAPIRequest) SetCinemaId added in v1.2.0

func (r *TaobaoLarkPosItemprodFindterminalAPIRequest) SetCinemaId(_cinemaId string) error

Set is CinemaId Setter 影城id

func (*TaobaoLarkPosItemprodFindterminalAPIRequest) SetCinemaName added in v1.2.0

func (r *TaobaoLarkPosItemprodFindterminalAPIRequest) SetCinemaName(_cinemaName string) error

Set is CinemaName Setter 影城名称

func (*TaobaoLarkPosItemprodFindterminalAPIRequest) SetCreateUser added in v1.2.0

func (r *TaobaoLarkPosItemprodFindterminalAPIRequest) SetCreateUser(_createUser string) error

Set is CreateUser Setter 912874323429834

func (*TaobaoLarkPosItemprodFindterminalAPIRequest) SetDeviceId added in v1.2.0

func (r *TaobaoLarkPosItemprodFindterminalAPIRequest) SetDeviceId(_deviceId string) error

Set is DeviceId Setter 终端id

func (*TaobaoLarkPosItemprodFindterminalAPIRequest) SetDeviceType added in v1.2.0

func (r *TaobaoLarkPosItemprodFindterminalAPIRequest) SetDeviceType(_deviceType string) error

Set is DeviceType Setter 终端类型

func (*TaobaoLarkPosItemprodFindterminalAPIRequest) SetLeaseCode added in v1.2.0

func (r *TaobaoLarkPosItemprodFindterminalAPIRequest) SetLeaseCode(_leaseCode string) error

Set is LeaseCode Setter 租户编码

type TaobaoLarkPosItemprodFindterminalAPIResponse

type TaobaoLarkPosItemprodFindterminalAPIResponse struct {
	model.CommonResponse
	TaobaoLarkPosItemprodFindterminalAPIResponseModel
}
TaobaoLarkPosItemprodFindterminalAPIResponse

终端配置支持 API返回值 taobao.lark.pos.itemprod.findterminal

终端配置支持,读取如果不存在则创建和远程的连接配置并返回

type TaobaoLarkPosItemprodFindterminalAPIResponseModel added in v1.2.0

type TaobaoLarkPosItemprodFindterminalAPIResponseModel struct {
	XMLName xml.Name `xml:"lark_pos_itemprod_findterminal_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 终端配置信息响应
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoLarkPosItemprodFindterminalAPIResponseModel is 终端配置支持 成功返回结果

type TaobaoMessageaccountMesssageMassSendAPIRequest added in v1.2.0

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

消息号开放-消息群发 API请求 taobao.messageaccount.messsage.mass.send

外部 isv 调用该进口来进行消息号消息的群发

func NewTaobaoMessageaccountMesssageMassSendRequest

func NewTaobaoMessageaccountMesssageMassSendRequest() *TaobaoMessageaccountMesssageMassSendAPIRequest

NewTaobaoMessageaccountMesssageMassSendRequest 初始化TaobaoMessageaccountMesssageMassSendAPIRequest对象

func (TaobaoMessageaccountMesssageMassSendAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMessageaccountMesssageMassSendAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMessageaccountMesssageMassSendAPIRequest) GetParam added in v1.2.0

Get Param Getter

func (*TaobaoMessageaccountMesssageMassSendAPIRequest) SetParam added in v1.2.0

Set is Param Setter 参数

type TaobaoMessageaccountMesssageMassSendAPIResponse

type TaobaoMessageaccountMesssageMassSendAPIResponse struct {
	model.CommonResponse
	TaobaoMessageaccountMesssageMassSendAPIResponseModel
}
TaobaoMessageaccountMesssageMassSendAPIResponse

消息号开放-消息群发 API返回值 taobao.messageaccount.messsage.mass.send

外部 isv 调用该进口来进行消息号消息的群发

type TaobaoMessageaccountMesssageMassSendAPIResponseModel added in v1.2.0

type TaobaoMessageaccountMesssageMassSendAPIResponseModel struct {
	XMLName xml.Name `xml:"messageaccount_messsage_mass_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoMessageaccountMesssageMassSendResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoMessageaccountMesssageMassSendAPIResponseModel is 消息号开放-消息群发 成功返回结果

type TaobaoMessageaccountMesssageMassSendResult

type TaobaoMessageaccountMesssageMassSendResult struct {
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// errMessage
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoMessageaccountMesssageMassSendResult 结构体

type TaobaoMessageaccountMesssageNormalSendAPIRequest added in v1.2.0

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

下行普通消息 API请求 taobao.messageaccount.messsage.normal.send

消息号下行单个普通消息

func NewTaobaoMessageaccountMesssageNormalSendRequest

func NewTaobaoMessageaccountMesssageNormalSendRequest() *TaobaoMessageaccountMesssageNormalSendAPIRequest

NewTaobaoMessageaccountMesssageNormalSendRequest 初始化TaobaoMessageaccountMesssageNormalSendAPIRequest对象

func (TaobaoMessageaccountMesssageNormalSendAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMessageaccountMesssageNormalSendAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMessageaccountMesssageNormalSendAPIRequest) GetParam added in v1.2.0

Get Param Getter

func (*TaobaoMessageaccountMesssageNormalSendAPIRequest) SetParam added in v1.2.0

Set is Param Setter 下行普通消息

type TaobaoMessageaccountMesssageNormalSendAPIResponse

type TaobaoMessageaccountMesssageNormalSendAPIResponse struct {
	model.CommonResponse
	TaobaoMessageaccountMesssageNormalSendAPIResponseModel
}
TaobaoMessageaccountMesssageNormalSendAPIResponse

下行普通消息 API返回值 taobao.messageaccount.messsage.normal.send

消息号下行单个普通消息

type TaobaoMessageaccountMesssageNormalSendAPIResponseModel added in v1.2.0

type TaobaoMessageaccountMesssageNormalSendAPIResponseModel struct {
	XMLName xml.Name `xml:"messageaccount_messsage_normal_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoMessageaccountMesssageNormalSendAPIResponseModel is 下行普通消息 成功返回结果

type TaobaoMessageaccountMesssageReplyAPIRequest added in v1.2.0

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

消息号下行回复接口 API请求 taobao.messageaccount.messsage.reply

外部 isv 调用该进口来进行消息号消息的回复

func NewTaobaoMessageaccountMesssageReplyRequest

func NewTaobaoMessageaccountMesssageReplyRequest() *TaobaoMessageaccountMesssageReplyAPIRequest

NewTaobaoMessageaccountMesssageReplyRequest 初始化TaobaoMessageaccountMesssageReplyAPIRequest对象

func (TaobaoMessageaccountMesssageReplyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMessageaccountMesssageReplyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMessageaccountMesssageReplyAPIRequest) GetParam0 added in v1.2.0

Get Param0 Getter

func (*TaobaoMessageaccountMesssageReplyAPIRequest) SetParam0 added in v1.2.0

Set is Param0 Setter 入参

type TaobaoMessageaccountMesssageReplyAPIResponse

type TaobaoMessageaccountMesssageReplyAPIResponse struct {
	model.CommonResponse
	TaobaoMessageaccountMesssageReplyAPIResponseModel
}
TaobaoMessageaccountMesssageReplyAPIResponse

消息号下行回复接口 API返回值 taobao.messageaccount.messsage.reply

外部 isv 调用该进口来进行消息号消息的回复

type TaobaoMessageaccountMesssageReplyAPIResponseModel added in v1.2.0

type TaobaoMessageaccountMesssageReplyAPIResponseModel struct {
	XMLName xml.Name `xml:"messageaccount_messsage_reply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoMessageaccountMesssageReplyResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoMessageaccountMesssageReplyAPIResponseModel is 消息号下行回复接口 成功返回结果

type TaobaoMessageaccountMesssageReplyResult

type TaobaoMessageaccountMesssageReplyResult struct {
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// errMessage
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoMessageaccountMesssageReplyResult 结构体

type TaobaoMiniappEleuserPhoneGetAPIRequest added in v1.2.0

type TaobaoMiniappEleuserPhoneGetAPIRequest struct {
	model.Params
}
TaobaoMiniappEleuserPhoneGetAPIRequest

获取饿了么用户信息 API请求 taobao.miniapp.eleuser.phone.get

获取饿了么用户信息

func NewTaobaoMiniappEleuserPhoneGetRequest

func NewTaobaoMiniappEleuserPhoneGetRequest() *TaobaoMiniappEleuserPhoneGetAPIRequest

NewTaobaoMiniappEleuserPhoneGetRequest 初始化TaobaoMiniappEleuserPhoneGetAPIRequest对象

func (TaobaoMiniappEleuserPhoneGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoMiniappEleuserPhoneGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappEleuserPhoneGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

type TaobaoMiniappEleuserPhoneGetAPIResponse

type TaobaoMiniappEleuserPhoneGetAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappEleuserPhoneGetAPIResponseModel
}
TaobaoMiniappEleuserPhoneGetAPIResponse

获取饿了么用户信息 API返回值 taobao.miniapp.eleuser.phone.get

获取饿了么用户信息

type TaobaoMiniappEleuserPhoneGetAPIResponseModel added in v1.2.0

type TaobaoMiniappEleuserPhoneGetAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_eleuser_phone_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *EleUicInfo `json:"result,omitempty" xml:"result,omitempty"`
	// traceId
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
}

TaobaoMiniappEleuserPhoneGetAPIResponseModel is 获取饿了么用户信息 成功返回结果

type TaobaoMiniappEleuserinfoGetAPIRequest added in v1.2.0

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

获取饿了么用户信息 API请求 taobao.miniapp.eleuserinfo.get

获取饿了么用户信息

func NewTaobaoMiniappEleuserinfoGetRequest

func NewTaobaoMiniappEleuserinfoGetRequest() *TaobaoMiniappEleuserinfoGetAPIRequest

NewTaobaoMiniappEleuserinfoGetRequest 初始化TaobaoMiniappEleuserinfoGetAPIRequest对象

func (TaobaoMiniappEleuserinfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoMiniappEleuserinfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappEleuserinfoGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMiniappEleuserinfoGetAPIRequest) GetBizScence added in v1.2.0

Get BizScence Getter

func (*TaobaoMiniappEleuserinfoGetAPIRequest) SetBizScence added in v1.2.0

func (r *TaobaoMiniappEleuserinfoGetAPIRequest) SetBizScence(_bizScence string) error

Set is BizScence Setter 怪兽业务方

type TaobaoMiniappEleuserinfoGetAPIResponse

type TaobaoMiniappEleuserinfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappEleuserinfoGetAPIResponseModel
}
TaobaoMiniappEleuserinfoGetAPIResponse

获取饿了么用户信息 API返回值 taobao.miniapp.eleuserinfo.get

获取饿了么用户信息

type TaobaoMiniappEleuserinfoGetAPIResponseModel added in v1.2.0

type TaobaoMiniappEleuserinfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_eleuserinfo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// traceId
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 1
	Result *EleUicInfo `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoMiniappEleuserinfoGetAPIResponseModel is 获取饿了么用户信息 成功返回结果

type TaobaoMiniappMesssageNormalSendAPIRequest added in v1.2.0

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

轻店铺下行普通消息给用户 API请求 taobao.miniapp.messsage.normal.send

小程序下行单个普通消息

func NewTaobaoMiniappMesssageNormalSendRequest

func NewTaobaoMiniappMesssageNormalSendRequest() *TaobaoMiniappMesssageNormalSendAPIRequest

NewTaobaoMiniappMesssageNormalSendRequest 初始化TaobaoMiniappMesssageNormalSendAPIRequest对象

func (TaobaoMiniappMesssageNormalSendAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappMesssageNormalSendAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMiniappMesssageNormalSendAPIRequest) GetParam added in v1.2.0

Get Param Getter

func (*TaobaoMiniappMesssageNormalSendAPIRequest) SetParam added in v1.2.0

Set is Param Setter 普通消息结构

type TaobaoMiniappMesssageNormalSendAPIResponse

type TaobaoMiniappMesssageNormalSendAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappMesssageNormalSendAPIResponseModel
}
TaobaoMiniappMesssageNormalSendAPIResponse

轻店铺下行普通消息给用户 API返回值 taobao.miniapp.messsage.normal.send

小程序下行单个普通消息

type TaobaoMiniappMesssageNormalSendAPIResponseModel added in v1.2.0

type TaobaoMiniappMesssageNormalSendAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_messsage_normal_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回消息Id
	Model string `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoMiniappMesssageNormalSendAPIResponseModel is 轻店铺下行普通消息给用户 成功返回结果

type TaobaoMiniappMesssageReplyAPIRequest added in v1.2.0

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

轻店铺下行回复接口 API请求 taobao.miniapp.messsage.reply

外部 isv 调用该进口来进行轻店铺消息的回复

func NewTaobaoMiniappMesssageReplyRequest

func NewTaobaoMiniappMesssageReplyRequest() *TaobaoMiniappMesssageReplyAPIRequest

NewTaobaoMiniappMesssageReplyRequest 初始化TaobaoMiniappMesssageReplyAPIRequest对象

func (TaobaoMiniappMesssageReplyAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoMiniappMesssageReplyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappMesssageReplyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMiniappMesssageReplyAPIRequest) GetParam added in v1.2.0

Get Param Getter

func (*TaobaoMiniappMesssageReplyAPIRequest) SetParam added in v1.2.0

Set is Param Setter 入参

type TaobaoMiniappMesssageReplyAPIResponse

type TaobaoMiniappMesssageReplyAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappMesssageReplyAPIResponseModel
}
TaobaoMiniappMesssageReplyAPIResponse

轻店铺下行回复接口 API返回值 taobao.miniapp.messsage.reply

外部 isv 调用该进口来进行轻店铺消息的回复

type TaobaoMiniappMesssageReplyAPIResponseModel added in v1.2.0

type TaobaoMiniappMesssageReplyAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_messsage_reply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoMiniappMesssageReplyResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoMiniappMesssageReplyAPIResponseModel is 轻店铺下行回复接口 成功返回结果

type TaobaoMiniappMesssageReplyResult

type TaobaoMiniappMesssageReplyResult struct {
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// errMessage
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoMiniappMesssageReplyResult 结构体

type TaobaoMiniappUserInfoGetAPIRequest added in v1.2.0

type TaobaoMiniappUserInfoGetAPIRequest struct {
	model.Params
}
TaobaoMiniappUserInfoGetAPIRequest

用户开放信息获取 API请求 taobao.miniapp.userInfo.get

获取用户的 openId,snsNick(如果用户设置过的话),和加密头像链接

func NewTaobaoMiniappUserInfoGetRequest

func NewTaobaoMiniappUserInfoGetRequest() *TaobaoMiniappUserInfoGetAPIRequest

NewTaobaoMiniappUserInfoGetRequest 初始化TaobaoMiniappUserInfoGetAPIRequest对象

func (TaobaoMiniappUserInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoMiniappUserInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappUserInfoGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

type TaobaoMiniappUserInfoGetAPIResponse

type TaobaoMiniappUserInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappUserInfoGetAPIResponseModel
}
TaobaoMiniappUserInfoGetAPIResponse

用户开放信息获取 API返回值 taobao.miniapp.userInfo.get

获取用户的 openId,snsNick(如果用户设置过的话),和加密头像链接

type TaobaoMiniappUserInfoGetAPIResponseModel added in v1.2.0

type TaobaoMiniappUserInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_userInfo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoMiniappUserInfoGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoMiniappUserInfoGetAPIResponseModel is 用户开放信息获取 成功返回结果

type TaobaoMiniappUserInfoGetResult

type TaobaoMiniappUserInfoGetResult struct {
	// model
	Model *OpenUserInfoDto `json:"model,omitempty" xml:"model,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoMiniappUserInfoGetResult 结构体

type TaobaoMiniappUserPhoneGetAPIRequest added in v1.2.0

type TaobaoMiniappUserPhoneGetAPIRequest struct {
	model.Params
}
TaobaoMiniappUserPhoneGetAPIRequest

获取当前授权用户手机号码 API请求 taobao.miniapp.user.phone.get

在商家应用中,获取当前授权用户手机号码

func NewTaobaoMiniappUserPhoneGetRequest

func NewTaobaoMiniappUserPhoneGetRequest() *TaobaoMiniappUserPhoneGetAPIRequest

NewTaobaoMiniappUserPhoneGetRequest 初始化TaobaoMiniappUserPhoneGetAPIRequest对象

func (TaobaoMiniappUserPhoneGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoMiniappUserPhoneGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappUserPhoneGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

type TaobaoMiniappUserPhoneGetAPIResponse

type TaobaoMiniappUserPhoneGetAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappUserPhoneGetAPIResponseModel
}
TaobaoMiniappUserPhoneGetAPIResponse

获取当前授权用户手机号码 API返回值 taobao.miniapp.user.phone.get

在商家应用中,获取当前授权用户手机号码

type TaobaoMiniappUserPhoneGetAPIResponseModel added in v1.2.0

type TaobaoMiniappUserPhoneGetAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_user_phone_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 用户手机号码
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
}

TaobaoMiniappUserPhoneGetAPIResponseModel is 获取当前授权用户手机号码 成功返回结果

type TaobaoMixnickChangeAPIRequest added in v1.2.0

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

新旧mixnick互转 API请求 taobao.mixnick.change

如果采用老的Appkey获取MixNick A’, 发现DB里 new MixNick为null,则使用新的Appkey调API来换取A’’;如果采用新的Appkey获取A’’,发现DB里不存在当前A’’ 的记录时,先用老Appkey调API得到A’ 查询是否存在A用户的记录,如果已经存在,则关联,否则新增一条MixNick为null的新用户记录。

func NewTaobaoMixnickChangeRequest

func NewTaobaoMixnickChangeRequest() *TaobaoMixnickChangeAPIRequest

NewTaobaoMixnickChangeRequest 初始化TaobaoMixnickChangeAPIRequest对象

func (TaobaoMixnickChangeAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoMixnickChangeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMixnickChangeAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoMixnickChangeAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMixnickChangeAPIRequest) GetSrcAppkey added in v1.2.0

func (r TaobaoMixnickChangeAPIRequest) GetSrcAppkey() string

Get SrcAppkey Getter

func (TaobaoMixnickChangeAPIRequest) GetSrcMixNick added in v1.2.0

func (r TaobaoMixnickChangeAPIRequest) GetSrcMixNick() string

Get SrcMixNick Getter

func (*TaobaoMixnickChangeAPIRequest) SetSrcAppkey added in v1.2.0

func (r *TaobaoMixnickChangeAPIRequest) SetSrcAppkey(_srcAppkey string) error

Set is SrcAppkey Setter 输入的appkey

func (*TaobaoMixnickChangeAPIRequest) SetSrcMixNick added in v1.2.0

func (r *TaobaoMixnickChangeAPIRequest) SetSrcMixNick(_srcMixNick string) error

Set is SrcMixNick Setter 输入的混淆nick

type TaobaoMixnickChangeAPIResponse

type TaobaoMixnickChangeAPIResponse struct {
	model.CommonResponse
	TaobaoMixnickChangeAPIResponseModel
}
TaobaoMixnickChangeAPIResponse

新旧mixnick互转 API返回值 taobao.mixnick.change

如果采用老的Appkey获取MixNick A’, 发现DB里 new MixNick为null,则使用新的Appkey调API来换取A’’;如果采用新的Appkey获取A’’,发现DB里不存在当前A’’ 的记录时,先用老Appkey调API得到A’ 查询是否存在A用户的记录,如果已经存在,则关联,否则新增一条MixNick为null的新用户记录。

type TaobaoMixnickChangeAPIResponseModel added in v1.2.0

type TaobaoMixnickChangeAPIResponseModel struct {
	XMLName xml.Name `xml:"mixnick_change_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	RetSuccess bool `json:"ret_success,omitempty" xml:"ret_success,omitempty"`
	// 根据dstAppkey算出的mixnick
	Mixnick string `json:"mixnick,omitempty" xml:"mixnick,omitempty"`
}

TaobaoMixnickChangeAPIResponseModel is 新旧mixnick互转 成功返回结果

type TaobaoNewretailDivisionRecordListGetAPIRequest added in v1.2.0

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

导购分佣明细列表 API请求 taobao.newretail.division.record.list.get

提供分页查询导购分佣明细的能力

func NewTaobaoNewretailDivisionRecordListGetRequest

func NewTaobaoNewretailDivisionRecordListGetRequest() *TaobaoNewretailDivisionRecordListGetAPIRequest

NewTaobaoNewretailDivisionRecordListGetRequest 初始化TaobaoNewretailDivisionRecordListGetAPIRequest对象

func (TaobaoNewretailDivisionRecordListGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoNewretailDivisionRecordListGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoNewretailDivisionRecordListGetAPIRequest) GetParam added in v1.2.0

Get Param Getter

func (*TaobaoNewretailDivisionRecordListGetAPIRequest) SetParam added in v1.2.0

Set is Param Setter 入参

type TaobaoNewretailDivisionRecordListGetAPIResponse

type TaobaoNewretailDivisionRecordListGetAPIResponse struct {
	model.CommonResponse
	TaobaoNewretailDivisionRecordListGetAPIResponseModel
}
TaobaoNewretailDivisionRecordListGetAPIResponse

导购分佣明细列表 API返回值 taobao.newretail.division.record.list.get

提供分页查询导购分佣明细的能力

type TaobaoNewretailDivisionRecordListGetAPIResponseModel added in v1.2.0

type TaobaoNewretailDivisionRecordListGetAPIResponseModel struct {
	XMLName xml.Name `xml:"newretail_division_record_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否有上一页
	HasPrevPage bool `json:"has_prev_page,omitempty" xml:"has_prev_page,omitempty"`
	// 总数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 返回代码
	ResCode string `json:"res_code,omitempty" xml:"res_code,omitempty"`
	// 数据列表
	DataList []TaobaoNewretailDivisionRecordListGetT `json:"data_list,omitempty" xml:"data_list>taobao_newretail_division_record_list_get_t,omitempty"`
	// 是否有下一页
	HasNextPage bool `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"`
	// 页码
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 每页数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 具体返回讯息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TaobaoNewretailDivisionRecordListGetAPIResponseModel is 导购分佣明细列表 成功返回结果

type TaobaoNewretailDivisionRecordListGetT

type TaobaoNewretailDivisionRecordListGetT struct {
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 分佣金额
	CommissionMoney int64 `json:"commission_money,omitempty" xml:"commission_money,omitempty"`
	// 主订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 导购昵称
	CommissionEmployeeName string `json:"commission_employee_name,omitempty" xml:"commission_employee_name,omitempty"`
	// 订单创建时间
	OrderCreateTime string `json:"order_create_time,omitempty" xml:"order_create_time,omitempty"`
	// 订单状态 12-付款,13-关闭,14-确认收货,3-结算成功
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 对应账号的OpenUID
	OpenUid string `json:"open_uid,omitempty" xml:"open_uid,omitempty"`
	// 分佣时间
	CommissionTime int64 `json:"commission_time,omitempty" xml:"commission_time,omitempty"`
	// 子订单id
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 导购id
	CommissionEmployeeId int64 `json:"commission_employee_id,omitempty" xml:"commission_employee_id,omitempty"`
	// 订单结束时间
	OrderEndTime string `json:"order_end_time,omitempty" xml:"order_end_time,omitempty"`
	// 订单支付时间
	OrderPayTime int64 `json:"order_pay_time,omitempty" xml:"order_pay_time,omitempty"`
	// 订单支付金额
	OrderPayMoney int64 `json:"order_pay_money,omitempty" xml:"order_pay_money,omitempty"`
}

TaobaoNewretailDivisionRecordListGetT 结构体

type TaobaoOpenAccountCreateAPIRequest added in v1.2.0

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

Open Account导入数据 API请求 taobao.open.account.create

Open Account导入数据

func NewTaobaoOpenAccountCreateRequest

func NewTaobaoOpenAccountCreateRequest() *TaobaoOpenAccountCreateAPIRequest

NewTaobaoOpenAccountCreateRequest 初始化TaobaoOpenAccountCreateAPIRequest对象

func (TaobaoOpenAccountCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpenAccountCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenAccountCreateAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoOpenAccountCreateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenAccountCreateAPIRequest) GetParamList added in v1.2.0

Get ParamList Getter

func (*TaobaoOpenAccountCreateAPIRequest) SetParamList added in v1.2.0

func (r *TaobaoOpenAccountCreateAPIRequest) SetParamList(_paramList []OpenAccount) error

Set is ParamList Setter Open Account的列表

type TaobaoOpenAccountCreateAPIResponse

type TaobaoOpenAccountCreateAPIResponse struct {
	model.CommonResponse
	TaobaoOpenAccountCreateAPIResponseModel
}
TaobaoOpenAccountCreateAPIResponse

Open Account导入数据 API返回值 taobao.open.account.create

Open Account导入数据

type TaobaoOpenAccountCreateAPIResponseModel added in v1.2.0

type TaobaoOpenAccountCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"open_account_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 插入数据的Open Account Id的列表
	Datas []OpenaccountLong `json:"datas,omitempty" xml:"datas>openaccount_long,omitempty"`
}

TaobaoOpenAccountCreateAPIResponseModel is Open Account导入数据 成功返回结果

type TaobaoOpenAccountDeleteAPIRequest added in v1.2.0

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

OpenAccount删除数据 API请求 taobao.open.account.delete

OpenAccount删除数据

func NewTaobaoOpenAccountDeleteRequest

func NewTaobaoOpenAccountDeleteRequest() *TaobaoOpenAccountDeleteAPIRequest

NewTaobaoOpenAccountDeleteRequest 初始化TaobaoOpenAccountDeleteAPIRequest对象

func (TaobaoOpenAccountDeleteAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpenAccountDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenAccountDeleteAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoOpenAccountDeleteAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenAccountDeleteAPIRequest) GetIsvAccountIds added in v1.2.0

func (r TaobaoOpenAccountDeleteAPIRequest) GetIsvAccountIds() []string

Get IsvAccountIds Getter

func (TaobaoOpenAccountDeleteAPIRequest) GetOpenAccountIds added in v1.2.0

func (r TaobaoOpenAccountDeleteAPIRequest) GetOpenAccountIds() []int64

Get OpenAccountIds Getter

func (*TaobaoOpenAccountDeleteAPIRequest) SetIsvAccountIds added in v1.2.0

func (r *TaobaoOpenAccountDeleteAPIRequest) SetIsvAccountIds(_isvAccountIds []string) error

Set is IsvAccountIds Setter ISV自己账号的id列表

func (*TaobaoOpenAccountDeleteAPIRequest) SetOpenAccountIds added in v1.2.0

func (r *TaobaoOpenAccountDeleteAPIRequest) SetOpenAccountIds(_openAccountIds []int64) error

Set is OpenAccountIds Setter Open Account的id列表

type TaobaoOpenAccountDeleteAPIResponse

type TaobaoOpenAccountDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoOpenAccountDeleteAPIResponseModel
}
TaobaoOpenAccountDeleteAPIResponse

OpenAccount删除数据 API返回值 taobao.open.account.delete

OpenAccount删除数据

type TaobaoOpenAccountDeleteAPIResponseModel added in v1.2.0

type TaobaoOpenAccountDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"open_account_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 删除结果
	Datas []OpenaccountVoid `json:"datas,omitempty" xml:"datas>openaccount_void,omitempty"`
}

TaobaoOpenAccountDeleteAPIResponseModel is OpenAccount删除数据 成功返回结果

type TaobaoOpenAccountIndexFindAPIRequest added in v1.2.0

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

Open Account索引查询 API请求 taobao.open.account.index.find

Open Account索引查询

func NewTaobaoOpenAccountIndexFindRequest

func NewTaobaoOpenAccountIndexFindRequest() *TaobaoOpenAccountIndexFindAPIRequest

NewTaobaoOpenAccountIndexFindRequest 初始化TaobaoOpenAccountIndexFindAPIRequest对象

func (TaobaoOpenAccountIndexFindAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpenAccountIndexFindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenAccountIndexFindAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenAccountIndexFindAPIRequest) GetIndexType added in v1.2.0

Get IndexType Getter

func (TaobaoOpenAccountIndexFindAPIRequest) GetIndexValue added in v1.2.0

func (r TaobaoOpenAccountIndexFindAPIRequest) GetIndexValue() string

Get IndexValue Getter

func (*TaobaoOpenAccountIndexFindAPIRequest) SetIndexType added in v1.2.0

func (r *TaobaoOpenAccountIndexFindAPIRequest) SetIndexType(_indexType int64) error

Set is IndexType Setter int MOBILE = 1;int EMAIL = 2;int ISV_ACCOUNT_ID = 3;int LOGIN_ID = 4;int OPEN_ID = 5;

func (*TaobaoOpenAccountIndexFindAPIRequest) SetIndexValue added in v1.2.0

func (r *TaobaoOpenAccountIndexFindAPIRequest) SetIndexValue(_indexValue string) error

Set is IndexValue Setter 具体值,当索引类型是 OPEN_ID 是,格式为 oauthPlatform|openId,即使用竖线分隔的组合值

type TaobaoOpenAccountIndexFindAPIResponse

type TaobaoOpenAccountIndexFindAPIResponse struct {
	model.CommonResponse
	TaobaoOpenAccountIndexFindAPIResponseModel
}
TaobaoOpenAccountIndexFindAPIResponse

Open Account索引查询 API返回值 taobao.open.account.index.find

Open Account索引查询

type TaobaoOpenAccountIndexFindAPIResponseModel added in v1.2.0

type TaobaoOpenAccountIndexFindAPIResponseModel struct {
	XMLName xml.Name `xml:"open_account_index_find_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *OpenAccountResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoOpenAccountIndexFindAPIResponseModel is Open Account索引查询 成功返回结果

type TaobaoOpenAccountListAPIRequest added in v1.2.0

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

OpenAccount账号信息查询 API请求 taobao.open.account.list

OpenAccount账号信息查询

func NewTaobaoOpenAccountListRequest

func NewTaobaoOpenAccountListRequest() *TaobaoOpenAccountListAPIRequest

NewTaobaoOpenAccountListRequest 初始化TaobaoOpenAccountListAPIRequest对象

func (TaobaoOpenAccountListAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpenAccountListAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenAccountListAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoOpenAccountListAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenAccountListAPIRequest) GetIsvAccountIds added in v1.2.0

func (r TaobaoOpenAccountListAPIRequest) GetIsvAccountIds() []string

Get IsvAccountIds Getter

func (TaobaoOpenAccountListAPIRequest) GetOpenAccountIds added in v1.2.0

func (r TaobaoOpenAccountListAPIRequest) GetOpenAccountIds() []int64

Get OpenAccountIds Getter

func (*TaobaoOpenAccountListAPIRequest) SetIsvAccountIds added in v1.2.0

func (r *TaobaoOpenAccountListAPIRequest) SetIsvAccountIds(_isvAccountIds []string) error

Set is IsvAccountIds Setter ISV自己账号的id列表,isvAccountId和openAccountId二选一必填, 每次最多查询 20 个帐户

func (*TaobaoOpenAccountListAPIRequest) SetOpenAccountIds added in v1.2.0

func (r *TaobaoOpenAccountListAPIRequest) SetOpenAccountIds(_openAccountIds []int64) error

Set is OpenAccountIds Setter Open Account的id列表, 每次最多查询 20 个帐户

type TaobaoOpenAccountListAPIResponse

type TaobaoOpenAccountListAPIResponse struct {
	model.CommonResponse
	TaobaoOpenAccountListAPIResponseModel
}
TaobaoOpenAccountListAPIResponse

OpenAccount账号信息查询 API返回值 taobao.open.account.list

OpenAccount账号信息查询

type TaobaoOpenAccountListAPIResponseModel added in v1.2.0

type TaobaoOpenAccountListAPIResponseModel struct {
	XMLName xml.Name `xml:"open_account_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回信息
	Datas []OpenaccountObject `json:"datas,omitempty" xml:"datas>openaccount_object,omitempty"`
}

TaobaoOpenAccountListAPIResponseModel is OpenAccount账号信息查询 成功返回结果

type TaobaoOpenAccountSearchAPIRequest added in v1.2.0

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

open account数据搜索 API请求 taobao.open.account.search

open account数据搜索

func NewTaobaoOpenAccountSearchRequest

func NewTaobaoOpenAccountSearchRequest() *TaobaoOpenAccountSearchAPIRequest

NewTaobaoOpenAccountSearchRequest 初始化TaobaoOpenAccountSearchAPIRequest对象

func (TaobaoOpenAccountSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpenAccountSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenAccountSearchAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoOpenAccountSearchAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenAccountSearchAPIRequest) GetQuery added in v1.2.0

Get Query Getter

func (*TaobaoOpenAccountSearchAPIRequest) SetQuery added in v1.2.0

func (r *TaobaoOpenAccountSearchAPIRequest) SetQuery(_query string) error

Set is Query Setter 基于阿里云OpenSearch服务,openSearch查询语法:https://help.aliyun.com/document_detail/29157.html,搜索服务能够基于id,loginId,mobile,email,isvAccountId,display_name,create_app_key,做搜索查询,示例中mobile可以基于模糊搜素,搜索135的账号,该搜索是分页返回,start表示开始行,hit表示一页返回值,最大500

type TaobaoOpenAccountSearchAPIResponse

type TaobaoOpenAccountSearchAPIResponse struct {
	model.CommonResponse
	TaobaoOpenAccountSearchAPIResponseModel
}
TaobaoOpenAccountSearchAPIResponse

open account数据搜索 API返回值 taobao.open.account.search

open account数据搜索

type TaobaoOpenAccountSearchAPIResponseModel added in v1.2.0

type TaobaoOpenAccountSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"open_account_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Data *OpenAccountSearchResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoOpenAccountSearchAPIResponseModel is open account数据搜索 成功返回结果

type TaobaoOpenAccountTokenApplyAPIRequest added in v1.2.0

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

申请免登Open Account Token API请求 taobao.open.account.token.apply

申请免登Open Account Token

func NewTaobaoOpenAccountTokenApplyRequest

func NewTaobaoOpenAccountTokenApplyRequest() *TaobaoOpenAccountTokenApplyAPIRequest

NewTaobaoOpenAccountTokenApplyRequest 初始化TaobaoOpenAccountTokenApplyAPIRequest对象

func (TaobaoOpenAccountTokenApplyAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpenAccountTokenApplyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenAccountTokenApplyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenAccountTokenApplyAPIRequest) GetExt added in v1.2.0

Get Ext Getter

func (TaobaoOpenAccountTokenApplyAPIRequest) GetIsvAccountId added in v1.2.0

func (r TaobaoOpenAccountTokenApplyAPIRequest) GetIsvAccountId() string

Get IsvAccountId Getter

func (TaobaoOpenAccountTokenApplyAPIRequest) GetLoginStateExpireIn added in v1.2.0

func (r TaobaoOpenAccountTokenApplyAPIRequest) GetLoginStateExpireIn() int64

Get LoginStateExpireIn Getter

func (TaobaoOpenAccountTokenApplyAPIRequest) GetOpenAccountId added in v1.2.0

func (r TaobaoOpenAccountTokenApplyAPIRequest) GetOpenAccountId() int64

Get OpenAccountId Getter

func (TaobaoOpenAccountTokenApplyAPIRequest) GetTokenTimestamp added in v1.2.0

func (r TaobaoOpenAccountTokenApplyAPIRequest) GetTokenTimestamp() int64

Get TokenTimestamp Getter

func (TaobaoOpenAccountTokenApplyAPIRequest) GetUuid added in v1.2.0

Get Uuid Getter

func (*TaobaoOpenAccountTokenApplyAPIRequest) SetExt added in v1.2.0

Set is Ext Setter 用于透传一些业务附加参数

func (*TaobaoOpenAccountTokenApplyAPIRequest) SetIsvAccountId added in v1.2.0

func (r *TaobaoOpenAccountTokenApplyAPIRequest) SetIsvAccountId(_isvAccountId string) error

Set is IsvAccountId Setter isv自己账号的唯一id

func (*TaobaoOpenAccountTokenApplyAPIRequest) SetLoginStateExpireIn added in v1.2.0

func (r *TaobaoOpenAccountTokenApplyAPIRequest) SetLoginStateExpireIn(_loginStateExpireIn int64) error

Set is LoginStateExpireIn Setter ISV APP的登录态时长单位是秒

func (*TaobaoOpenAccountTokenApplyAPIRequest) SetOpenAccountId added in v1.2.0

func (r *TaobaoOpenAccountTokenApplyAPIRequest) SetOpenAccountId(_openAccountId int64) error

Set is OpenAccountId Setter open account id

func (*TaobaoOpenAccountTokenApplyAPIRequest) SetTokenTimestamp added in v1.2.0

func (r *TaobaoOpenAccountTokenApplyAPIRequest) SetTokenTimestamp(_tokenTimestamp int64) error

Set is TokenTimestamp Setter 时间戳单位是毫秒

func (*TaobaoOpenAccountTokenApplyAPIRequest) SetUuid added in v1.2.0

Set is Uuid Setter 用于防重放的唯一id

type TaobaoOpenAccountTokenApplyAPIResponse

type TaobaoOpenAccountTokenApplyAPIResponse struct {
	model.CommonResponse
	TaobaoOpenAccountTokenApplyAPIResponseModel
}
TaobaoOpenAccountTokenApplyAPIResponse

申请免登Open Account Token API返回值 taobao.open.account.token.apply

申请免登Open Account Token

type TaobaoOpenAccountTokenApplyAPIResponseModel added in v1.2.0

type TaobaoOpenAccountTokenApplyAPIResponseModel struct {
	XMLName xml.Name `xml:"open_account_token_apply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的token结果
	Data *OpenAccountTokenApplyResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoOpenAccountTokenApplyAPIResponseModel is 申请免登Open Account Token 成功返回结果

type TaobaoOpenAccountTokenValidateAPIRequest added in v1.2.0

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

open account token验证 API请求 taobao.open.account.token.validate

open account token验证

func NewTaobaoOpenAccountTokenValidateRequest

func NewTaobaoOpenAccountTokenValidateRequest() *TaobaoOpenAccountTokenValidateAPIRequest

NewTaobaoOpenAccountTokenValidateRequest 初始化TaobaoOpenAccountTokenValidateAPIRequest对象

func (TaobaoOpenAccountTokenValidateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpenAccountTokenValidateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenAccountTokenValidateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenAccountTokenValidateAPIRequest) GetParamToken added in v1.2.0

Get ParamToken Getter

func (*TaobaoOpenAccountTokenValidateAPIRequest) SetParamToken added in v1.2.0

func (r *TaobaoOpenAccountTokenValidateAPIRequest) SetParamToken(_paramToken string) error

Set is ParamToken Setter token

type TaobaoOpenAccountTokenValidateAPIResponse

type TaobaoOpenAccountTokenValidateAPIResponse struct {
	model.CommonResponse
	TaobaoOpenAccountTokenValidateAPIResponseModel
}
TaobaoOpenAccountTokenValidateAPIResponse

open account token验证 API返回值 taobao.open.account.token.validate

open account token验证

type TaobaoOpenAccountTokenValidateAPIResponseModel added in v1.2.0

type TaobaoOpenAccountTokenValidateAPIResponseModel struct {
	XMLName xml.Name `xml:"open_account_token_validate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 验证成功返回token中的信息
	Data *OpenAccountTokenValidateResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoOpenAccountTokenValidateAPIResponseModel is open account token验证 成功返回结果

type TaobaoOpenAccountUpdateAPIRequest added in v1.2.0

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

Open Account数据更新 API请求 taobao.open.account.update

Open Account数据更新

func NewTaobaoOpenAccountUpdateRequest

func NewTaobaoOpenAccountUpdateRequest() *TaobaoOpenAccountUpdateAPIRequest

NewTaobaoOpenAccountUpdateRequest 初始化TaobaoOpenAccountUpdateAPIRequest对象

func (TaobaoOpenAccountUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpenAccountUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenAccountUpdateAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoOpenAccountUpdateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenAccountUpdateAPIRequest) GetParamList added in v1.2.0

Get ParamList Getter

func (*TaobaoOpenAccountUpdateAPIRequest) SetParamList added in v1.2.0

func (r *TaobaoOpenAccountUpdateAPIRequest) SetParamList(_paramList []OpenAccount) error

Set is ParamList Setter Open Account

type TaobaoOpenAccountUpdateAPIResponse

type TaobaoOpenAccountUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoOpenAccountUpdateAPIResponseModel
}
TaobaoOpenAccountUpdateAPIResponse

Open Account数据更新 API返回值 taobao.open.account.update

Open Account数据更新

type TaobaoOpenAccountUpdateAPIResponseModel added in v1.2.0

type TaobaoOpenAccountUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"open_account_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// update是否成功
	Datas []OpenaccountVoid `json:"datas,omitempty" xml:"datas>openaccount_void,omitempty"`
}

TaobaoOpenAccountUpdateAPIResponseModel is Open Account数据更新 成功返回结果

type TaobaoOpensecurityIsvUidGetAPIRequest added in v1.2.0

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

获取open security uid for isv API请求 taobao.opensecurity.isv.uid.get

根据 open_uid 获取 open_uid_isv 用于同一个 isv的多个app间数据关联

func NewTaobaoOpensecurityIsvUidGetRequest

func NewTaobaoOpensecurityIsvUidGetRequest() *TaobaoOpensecurityIsvUidGetAPIRequest

NewTaobaoOpensecurityIsvUidGetRequest 初始化TaobaoOpensecurityIsvUidGetAPIRequest对象

func (TaobaoOpensecurityIsvUidGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpensecurityIsvUidGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpensecurityIsvUidGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpensecurityIsvUidGetAPIRequest) GetOpenUid added in v1.2.0

Get OpenUid Getter

func (*TaobaoOpensecurityIsvUidGetAPIRequest) SetOpenUid added in v1.2.0

func (r *TaobaoOpensecurityIsvUidGetAPIRequest) SetOpenUid(_openUid string) error

Set is OpenUid Setter 基于Appkey生成的open security淘宝用户Id

type TaobaoOpensecurityIsvUidGetAPIResponse

type TaobaoOpensecurityIsvUidGetAPIResponse struct {
	model.CommonResponse
	TaobaoOpensecurityIsvUidGetAPIResponseModel
}
TaobaoOpensecurityIsvUidGetAPIResponse

获取open security uid for isv API返回值 taobao.opensecurity.isv.uid.get

根据 open_uid 获取 open_uid_isv 用于同一个 isv的多个app间数据关联

type TaobaoOpensecurityIsvUidGetAPIResponseModel added in v1.2.0

type TaobaoOpensecurityIsvUidGetAPIResponseModel struct {
	XMLName xml.Name `xml:"opensecurity_isv_uid_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// open security tbUserId for ISV,淘宝账号对ISV级别的唯一open security ID,用于同一个ISV多个Appkey间数据共享。
	OpenUidIsv string `json:"open_uid_isv,omitempty" xml:"open_uid_isv,omitempty"`
}

TaobaoOpensecurityIsvUidGetAPIResponseModel is 获取open security uid for isv 成功返回结果

type TaobaoOpensecurityUidGetAPIRequest added in v1.2.0

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

淘宝open security uid 获取接口 API请求 taobao.opensecurity.uid.get

根据明文 taobao user id 换取 app的 open_uid

func NewTaobaoOpensecurityUidGetRequest

func NewTaobaoOpensecurityUidGetRequest() *TaobaoOpensecurityUidGetAPIRequest

NewTaobaoOpensecurityUidGetRequest 初始化TaobaoOpensecurityUidGetAPIRequest对象

func (TaobaoOpensecurityUidGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpensecurityUidGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpensecurityUidGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpensecurityUidGetAPIRequest) GetTbUserId added in v1.2.0

func (r TaobaoOpensecurityUidGetAPIRequest) GetTbUserId() int64

Get TbUserId Getter

func (*TaobaoOpensecurityUidGetAPIRequest) SetTbUserId added in v1.2.0

func (r *TaobaoOpensecurityUidGetAPIRequest) SetTbUserId(_tbUserId int64) error

Set is TbUserId Setter 淘宝用户ID

type TaobaoOpensecurityUidGetAPIResponse

type TaobaoOpensecurityUidGetAPIResponse struct {
	model.CommonResponse
	TaobaoOpensecurityUidGetAPIResponseModel
}
TaobaoOpensecurityUidGetAPIResponse

淘宝open security uid 获取接口 API返回值 taobao.opensecurity.uid.get

根据明文 taobao user id 换取 app的 open_uid

type TaobaoOpensecurityUidGetAPIResponseModel added in v1.2.0

type TaobaoOpensecurityUidGetAPIResponseModel struct {
	XMLName xml.Name `xml:"opensecurity_uid_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// open security tbUserId,淘宝用户对每个Appkey会有唯一的一个open_uid
	OpenUid string `json:"open_uid,omitempty" xml:"open_uid,omitempty"`
}

TaobaoOpensecurityUidGetAPIResponseModel is 淘宝open security uid 获取接口 成功返回结果

type TaobaoRdcAligeniusAccountValidateAPIRequest added in v1.2.0

type TaobaoRdcAligeniusAccountValidateAPIRequest struct {
	model.Params
}
TaobaoRdcAligeniusAccountValidateAPIRequest

AG商家账号校验 API请求 taobao.rdc.aligenius.account.validate

提供应对接AG的erp系统查询其旗下的商家是否为AG商家

func NewTaobaoRdcAligeniusAccountValidateRequest

func NewTaobaoRdcAligeniusAccountValidateRequest() *TaobaoRdcAligeniusAccountValidateAPIRequest

NewTaobaoRdcAligeniusAccountValidateRequest 初始化TaobaoRdcAligeniusAccountValidateAPIRequest对象

func (TaobaoRdcAligeniusAccountValidateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusAccountValidateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

type TaobaoRdcAligeniusAccountValidateAPIResponse

type TaobaoRdcAligeniusAccountValidateAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusAccountValidateAPIResponseModel
}
TaobaoRdcAligeniusAccountValidateAPIResponse

AG商家账号校验 API返回值 taobao.rdc.aligenius.account.validate

提供应对接AG的erp系统查询其旗下的商家是否为AG商家

type TaobaoRdcAligeniusAccountValidateAPIResponseModel added in v1.2.0

type TaobaoRdcAligeniusAccountValidateAPIResponseModel struct {
	XMLName xml.Name `xml:"rdc_aligenius_account_validate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoRdcAligeniusAccountValidateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoRdcAligeniusAccountValidateAPIResponseModel is AG商家账号校验 成功返回结果

type TaobaoRdcAligeniusAccountValidateResult

type TaobaoRdcAligeniusAccountValidateResult struct {
	// resultData
	ResultData *Resultdata `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// errorInfo
	ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 为true时才有resultData
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoRdcAligeniusAccountValidateResult 结构体

type TaobaoUserAvatarGetAPIRequest added in v1.2.0

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

淘宝用户头像查询 API请求 taobao.user.avatar.get

根据混淆nick查询用户头像

func NewTaobaoUserAvatarGetRequest

func NewTaobaoUserAvatarGetRequest() *TaobaoUserAvatarGetAPIRequest

NewTaobaoUserAvatarGetRequest 初始化TaobaoUserAvatarGetAPIRequest对象

func (TaobaoUserAvatarGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUserAvatarGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoUserAvatarGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoUserAvatarGetAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoUserAvatarGetAPIRequest) GetNick added in v1.2.0

Get Nick Getter

func (*TaobaoUserAvatarGetAPIRequest) SetNick added in v1.2.0

func (r *TaobaoUserAvatarGetAPIRequest) SetNick(_nick string) error

Set is Nick Setter 混淆nick

type TaobaoUserAvatarGetAPIResponse

type TaobaoUserAvatarGetAPIResponse struct {
	model.CommonResponse
	TaobaoUserAvatarGetAPIResponseModel
}
TaobaoUserAvatarGetAPIResponse

淘宝用户头像查询 API返回值 taobao.user.avatar.get

根据混淆nick查询用户头像

type TaobaoUserAvatarGetAPIResponseModel added in v1.2.0

type TaobaoUserAvatarGetAPIResponseModel struct {
	XMLName xml.Name `xml:"user_avatar_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 用户头像地址
	Avatar string `json:"avatar,omitempty" xml:"avatar,omitempty"`
}

TaobaoUserAvatarGetAPIResponseModel is 淘宝用户头像查询 成功返回结果

type TaobaoUserBuyerGetAPIRequest added in v1.2.0

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

查询买家信息API API请求 taobao.user.buyer.get

查询买家信息API,只能买家类应用调用。

func NewTaobaoUserBuyerGetRequest

func NewTaobaoUserBuyerGetRequest() *TaobaoUserBuyerGetAPIRequest

NewTaobaoUserBuyerGetRequest 初始化TaobaoUserBuyerGetAPIRequest对象

func (TaobaoUserBuyerGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUserBuyerGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoUserBuyerGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoUserBuyerGetAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoUserBuyerGetAPIRequest) GetFields added in v1.2.0

func (r TaobaoUserBuyerGetAPIRequest) GetFields() string

Get Fields Getter

func (*TaobaoUserBuyerGetAPIRequest) SetFields added in v1.2.0

func (r *TaobaoUserBuyerGetAPIRequest) SetFields(_fields string) error

Set is Fields Setter 只返回nick, avatar参数

type TaobaoUserBuyerGetAPIResponse

type TaobaoUserBuyerGetAPIResponse struct {
	model.CommonResponse
	TaobaoUserBuyerGetAPIResponseModel
}
TaobaoUserBuyerGetAPIResponse

查询买家信息API API返回值 taobao.user.buyer.get

查询买家信息API,只能买家类应用调用。

type TaobaoUserBuyerGetAPIResponseModel added in v1.2.0

type TaobaoUserBuyerGetAPIResponseModel struct {
	XMLName xml.Name `xml:"user_buyer_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 只返回nick,avatar参数
	User *User `json:"user,omitempty" xml:"user,omitempty"`
}

TaobaoUserBuyerGetAPIResponseModel is 查询买家信息API 成功返回结果

type TaobaoUserSellerGetAPIRequest added in v1.2.0

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

查询卖家用户信息 API请求 taobao.user.seller.get

查询卖家用户信息(只能查询有店铺的用户) 只能卖家类应用调用。

func NewTaobaoUserSellerGetRequest

func NewTaobaoUserSellerGetRequest() *TaobaoUserSellerGetAPIRequest

NewTaobaoUserSellerGetRequest 初始化TaobaoUserSellerGetAPIRequest对象

func (TaobaoUserSellerGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUserSellerGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoUserSellerGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoUserSellerGetAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoUserSellerGetAPIRequest) GetFields added in v1.2.0

func (r TaobaoUserSellerGetAPIRequest) GetFields() []string

Get Fields Getter

func (*TaobaoUserSellerGetAPIRequest) SetFields added in v1.2.0

func (r *TaobaoUserSellerGetAPIRequest) SetFields(_fields []string) error

Set is Fields Setter 需要返回的字段列表,可选值为返回示例值中的可以看到的字段

type TaobaoUserSellerGetAPIResponse

type TaobaoUserSellerGetAPIResponse struct {
	model.CommonResponse
	TaobaoUserSellerGetAPIResponseModel
}
TaobaoUserSellerGetAPIResponse

查询卖家用户信息 API返回值 taobao.user.seller.get

查询卖家用户信息(只能查询有店铺的用户) 只能卖家类应用调用。

type TaobaoUserSellerGetAPIResponseModel added in v1.2.0

type TaobaoUserSellerGetAPIResponseModel struct {
	XMLName xml.Name `xml:"user_seller_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 用户信息
	User *User `json:"user,omitempty" xml:"user,omitempty"`
}

TaobaoUserSellerGetAPIResponseModel is 查询卖家用户信息 成功返回结果

type TmallServiceSettleadjustmentModifyAPIRequest added in v1.2.0

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

修改结算调整单 API请求 tmall.service.settleadjustment.modify

提供给服务商在对结算有异议时,发起结算调整单。 通过说明调整单ID,调整费用值,调整原因进行结算调整单修改。

func NewTmallServiceSettleadjustmentModifyRequest

func NewTmallServiceSettleadjustmentModifyRequest() *TmallServiceSettleadjustmentModifyAPIRequest

NewTmallServiceSettleadjustmentModifyRequest 初始化TmallServiceSettleadjustmentModifyAPIRequest对象

func (TmallServiceSettleadjustmentModifyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServiceSettleadjustmentModifyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServiceSettleadjustmentModifyAPIRequest) GetParamSettleAdjustmentRequest added in v1.2.0

func (r TmallServiceSettleadjustmentModifyAPIRequest) GetParamSettleAdjustmentRequest() *SettleAdjustmentRequest

Get ParamSettleAdjustmentRequest Getter

func (*TmallServiceSettleadjustmentModifyAPIRequest) SetParamSettleAdjustmentRequest added in v1.2.0

func (r *TmallServiceSettleadjustmentModifyAPIRequest) SetParamSettleAdjustmentRequest(_paramSettleAdjustmentRequest *SettleAdjustmentRequest) error

Set is ParamSettleAdjustmentRequest Setter 结算调整单父节点

type TmallServiceSettleadjustmentModifyAPIResponse

type TmallServiceSettleadjustmentModifyAPIResponse struct {
	model.CommonResponse
	TmallServiceSettleadjustmentModifyAPIResponseModel
}
TmallServiceSettleadjustmentModifyAPIResponse

修改结算调整单 API返回值 tmall.service.settleadjustment.modify

提供给服务商在对结算有异议时,发起结算调整单。 通过说明调整单ID,调整费用值,调整原因进行结算调整单修改。

type TmallServiceSettleadjustmentModifyAPIResponseModel added in v1.2.0

type TmallServiceSettleadjustmentModifyAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_service_settleadjustment_modify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TmallServiceSettleadjustmentModifyResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallServiceSettleadjustmentModifyAPIResponseModel is 修改结算调整单 成功返回结果

type TmallServiceSettleadjustmentModifyResult

type TmallServiceSettleadjustmentModifyResult struct {
	// errorMessage
	ErrorMessage *ErrorMessage `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallServiceSettleadjustmentModifyResult 结构体

type TokenInfo

type TokenInfo struct {
	// 时间戳
	Timestamp int64 `json:"timestamp,omitempty" xml:"timestamp,omitempty"`
	// open account id
	OpenAccountId int64 `json:"open_account_id,omitempty" xml:"open_account_id,omitempty"`
	// isv自己账号的唯一id
	IsvAccountId string `json:"isv_account_id,omitempty" xml:"isv_account_id,omitempty"`
	// 用于防重放的唯一id
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// ISV APP的登录态时长
	LoginStateExpireIn int64 `json:"login_state_expire_in,omitempty" xml:"login_state_expire_in,omitempty"`
	// token info扩展信息
	Ext *TokenInfoExt `json:"ext,omitempty" xml:"ext,omitempty"`
}

TokenInfo 结构体

type TokenInfoExt

type TokenInfoExt struct {
	// open account当前token info中open account id对应的open account信息
	OpenAccount *OpenAccount `json:"open_account,omitempty" xml:"open_account,omitempty"`
	// 授权登录后返回的信息
	OauthOtherInfo string `json:"oauth_other_info,omitempty" xml:"oauth_other_info,omitempty"`
}

TokenInfoExt 结构体

type TopDivisionRecordReqDto

type TopDivisionRecordReqDto struct {
	// 页码
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 每页数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 开始时间(毫秒为单位)
	StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间(毫秒为单位)
	EndTime int64 `json:"end_time,omitempty" xml:"end_time,omitempty"`
}

TopDivisionRecordReqDto 结构体

type User

type User struct {
	// 用户昵称
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 性别。可选值:m(男),f(女)
	Sex string `json:"sex,omitempty" xml:"sex,omitempty"`
	// 用户头像地址
	Avatar string `json:"avatar,omitempty" xml:"avatar,omitempty"`
	// 对应账号的OpenUID
	OpenUid string `json:"open_uid,omitempty" xml:"open_uid,omitempty"`
	// 用户数字ID
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 卖家信用
	SellerCredit *UserCredit `json:"seller_credit,omitempty" xml:"seller_credit,omitempty"`
	// 用户类型。可选值:B(B商家),C(C商家)
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 是否购买多图服务。可选值:true(是),false(否)
	HasMorePic bool `json:"has_more_pic,omitempty" xml:"has_more_pic,omitempty"`
	// 可上传商品图片数量
	ItemImgNum int64 `json:"item_img_num,omitempty" xml:"item_img_num,omitempty"`
	// 单张商品图片最大容量(商品主图大小)。单位:k
	ItemImgSize int64 `json:"item_img_size,omitempty" xml:"item_img_size,omitempty"`
	// 可上传属性图片数量
	PropImgNum int64 `json:"prop_img_num,omitempty" xml:"prop_img_num,omitempty"`
	// 单张销售属性图片最大容量(非主图的商品图片和商品属性图片)。单位:k
	PropImgSize int64 `json:"prop_img_size,omitempty" xml:"prop_img_size,omitempty"`
	// 是否受限制。可选值:limited(受限制),unlimited(不受限)
	AutoRepost string `json:"auto_repost,omitempty" xml:"auto_repost,omitempty"`
	// 有无实名认证。可选值:authentication(实名认证),not authentication(没有认证)
	PromotedType string `json:"promoted_type,omitempty" xml:"promoted_type,omitempty"`
	// 状态。可选值:normal(正常),inactive(未激活),delete(删除),reeze(冻结),supervise(监管)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 有无绑定。可选值:bind(绑定),notbind(未绑定)
	AlipayBind string `json:"alipay_bind,omitempty" xml:"alipay_bind,omitempty"`
	// 是否参加消保
	ConsumerProtection bool `json:"consumer_protection,omitempty" xml:"consumer_protection,omitempty"`
	// 是否是无名良品用户,true or false
	Liangpin bool `json:"liangpin,omitempty" xml:"liangpin,omitempty"`
	// 卖家是否签署食品卖家承诺协议
	SignFoodSellerPromise bool `json:"sign_food_seller_promise,omitempty" xml:"sign_food_seller_promise,omitempty"`
	// 用户作为卖家是否开过店
	HasShop bool `json:"has_shop,omitempty" xml:"has_shop,omitempty"`
	// 是否24小时闪电发货(实物类)
	IsLightningConsignment bool `json:"is_lightning_consignment,omitempty" xml:"is_lightning_consignment,omitempty"`
	// 表示用户是否具备修改商品减库存逻辑的权限(一共有拍下减库存和付款减库存两种逻辑) 值含义: 1)true:是 2)false:否。
	HasSubStock bool `json:"has_sub_stock,omitempty" xml:"has_sub_stock,omitempty"`
	// 用户是否是金牌卖家
	IsGoldenSeller bool `json:"is_golden_seller,omitempty" xml:"is_golden_seller,omitempty"`
	// 是否订阅了淘宝天下杂志
	MagazineSubscribe bool `json:"magazine_subscribe,omitempty" xml:"magazine_subscribe,omitempty"`
	// 用户参与垂直市场类型。shoes表示鞋城垂直市场用户,3C表示3C垂直市场用户。多个类型之间用","分隔。如:一个用户既是3C用户又是鞋城用户,那么这个字段返回就是"3C,shoes"。如果用户不是垂直市场用户,此字段返回为""。
	VerticalMarket string `json:"vertical_market,omitempty" xml:"vertical_market,omitempty"`
	// 用户是否为网游用户,属于隐私信息,需要登陆才能查看自己的。 目前仅供taobao.user.get使用
	OnlineGaming bool `json:"online_gaming,omitempty" xml:"online_gaming,omitempty"`
	// 是否是特价版商家,需要field查询
	IsTjbSeller bool `json:"is_tjb_seller,omitempty" xml:"is_tjb_seller,omitempty"`
	// 用户的全站vip信息,可取值如下:c(普通会员),asso_vip(荣誉会员),vip1,vip2,vip3,vip4,vip5,vip6(六个等级的正式vip会员),共8种取值,其中asso_vip是由vip会员衰退而成,与主站上的vip0对应。
	VipInfo string `json:"vip_info,omitempty" xml:"vip_info,omitempty"`
}

User 结构体

type UserCredit

type UserCredit struct {
	// 信用等级(是根据score生成的),信用等级:淘宝会员在淘宝网上的信用度,分为20个级别,级别如:level = 1 时,表示一心;level = 2 时,表示二心
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
	// 信用总分(“好评”加一分,“中评”不加分,“差评”扣一分。分越高,等级越高)
	Score int64 `json:"score,omitempty" xml:"score,omitempty"`
	// 收到的评价总条数。取值范围:大于零的整数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// 收到的好评总条数。取值范围:大于零的整数
	GoodNum int64 `json:"good_num,omitempty" xml:"good_num,omitempty"`
}

UserCredit 结构体

type UserInfoBaseDto

type UserInfoBaseDto struct {
	// 同一个开放平台帐号下,用户的 UnionID 是唯一的
	UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"`
	// 小程序用户唯一识别
	OpenUid string `json:"open_uid,omitempty" xml:"open_uid,omitempty"`
	// 小程序ID
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 小程序开发主体ID
	CorpId string `json:"corp_id,omitempty" xml:"corp_id,omitempty"`
	// 登录类型
	LoginType string `json:"login_type,omitempty" xml:"login_type,omitempty"`
	// 不同业务/登录方式的扩展字段
	ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,omitempty"`
	// 登录用户昵称
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
}

UserInfoBaseDto 结构体

type UserInfoDto

type UserInfoDto struct {
	// 返回数据签名,signature = sha1(raw_data 下所有字段 + appSecret,按字符串升级排列),用于校验关键数据是否被篡改
	Signature string `json:"signature,omitempty" xml:"signature,omitempty"`
	// 用户相关的原始数据
	RawData *UserInfoBaseDto `json:"raw_data,omitempty" xml:"raw_data,omitempty"`
	// 用户openId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 用户结果code
	UserResultCode *UserResultCode `json:"user_result_code,omitempty" xml:"user_result_code,omitempty"`
}

UserInfoDto 结构体

type UserResultCode

type UserResultCode struct {
	// 结果code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 结果类型
	ResultType string `json:"result_type,omitempty" xml:"result_type,omitempty"`
	// 结果描述
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
}

UserResultCode 结构体

type UserSubscribe

type UserSubscribe struct {
	// 订购状况。应用订购者:subscribeUser;尚未订购:unsubscribeUser;非法用户:invalidateUser
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 订购开始时间。格式:yyyy-MM-dd HH:mm:ss
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 订购结束时间。格式:yyyy-MM-dd HH:mm:ss
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// 0-无版本信息;1-初级版;2-中级版;3-高级版
	VersionNo int64 `json:"version_no,omitempty" xml:"version_no,omitempty"`
}

UserSubscribe 结构体

Source Files

Jump to

Keyboard shortcuts

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