mei

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mei 包含天猫美妆API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemberAccountDto

type MemberAccountDto struct {
	// mixMobile,只有有权限的才有值
	MixMobile string `json:"mix_mobile,omitempty" xml:"mix_mobile,omitempty"`
	// buyerNick,只有有权限的才有值
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 明文手机号,只有有权限的才有值
	ClearMobile string `json:"clear_mobile,omitempty" xml:"clear_mobile,omitempty"`
}

MemberAccountDto 结构体

type ResultDto

type ResultDto struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// msg
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// total
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// result
	Result *MemberAccountDto `json:"result,omitempty" xml:"result,omitempty"`
}

ResultDto 结构体

type TmallcrmmemberfrontunbindAPIRequest added in v1.3.1

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

TmallcrmmemberfrontunbindAPIRequest 品牌会员解绑 API请求 tmall.crm.member.front.unbind

品牌会员解绑功能

func NewTmallcrmmemberfrontunbindRequest added in v1.3.1

func NewTmallcrmmemberfrontunbindRequest() *TmallcrmmemberfrontunbindAPIRequest

NewTmallcrmmemberfrontunbindRequest 初始化TmallcrmmemberfrontunbindAPIRequest对象

func (TmallcrmmemberfrontunbindAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcrmmemberfrontunbindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcrmmemberfrontunbindAPIRequest) GetApiParams added in v1.3.1

func (r TmallcrmmemberfrontunbindAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcrmmemberfrontunbindAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallcrmmemberfrontunbindAPIRequest) GetUserNick added in v1.3.1

GetUserNick UserNick Getter

func (*TmallcrmmemberfrontunbindAPIRequest) SetUserNick added in v1.3.1

func (r *TmallcrmmemberfrontunbindAPIRequest) SetUserNick(_userNick string) error

SetUserNick is UserNick Setter 会员昵称

type TmallcrmmemberfrontunbindAPIResponse added in v1.3.1

type TmallcrmmemberfrontunbindAPIResponse struct {
	model.CommonResponse
	TmallcrmmemberfrontunbindAPIResponseModel
}

TmallcrmmemberfrontunbindAPIResponse 品牌会员解绑 API返回值 tmall.crm.member.front.unbind

品牌会员解绑功能

type TmallcrmmemberfrontunbindAPIResponseModel added in v1.3.1

type TmallcrmmemberfrontunbindAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_crm_member_front_unbind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口调用是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TmallcrmmemberfrontunbindAPIResponseModel is 品牌会员解绑 成功返回结果

type TmallcrmmemberfrontunbindprivyAPIRequest added in v1.3.1

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

TmallcrmmemberfrontunbindprivyAPIRequest 品牌会员解绑(隐私号版) API请求 tmall.crm.member.front.unbind.privy

品牌会员解绑功能

func NewTmallcrmmemberfrontunbindprivyRequest added in v1.3.1

func NewTmallcrmmemberfrontunbindprivyRequest() *TmallcrmmemberfrontunbindprivyAPIRequest

NewTmallcrmmemberfrontunbindprivyRequest 初始化TmallcrmmemberfrontunbindprivyAPIRequest对象

func (TmallcrmmemberfrontunbindprivyAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcrmmemberfrontunbindprivyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcrmmemberfrontunbindprivyAPIRequest) GetApiParams added in v1.3.1

func (r TmallcrmmemberfrontunbindprivyAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcrmmemberfrontunbindprivyAPIRequest) GetOuid added in v1.3.1

GetOuid Ouid Getter

func (TmallcrmmemberfrontunbindprivyAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallcrmmemberfrontunbindprivyAPIRequest) SetOuid added in v1.3.1

SetOuid is Ouid Setter ouid

type TmallcrmmemberfrontunbindprivyAPIResponse added in v1.3.1

type TmallcrmmemberfrontunbindprivyAPIResponse struct {
	model.CommonResponse
	TmallcrmmemberfrontunbindprivyAPIResponseModel
}

TmallcrmmemberfrontunbindprivyAPIResponse 品牌会员解绑(隐私号版) API返回值 tmall.crm.member.front.unbind.privy

品牌会员解绑功能

type TmallcrmmemberfrontunbindprivyAPIResponseModel added in v1.3.1

type TmallcrmmemberfrontunbindprivyAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_crm_member_front_unbind_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口调用是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TmallcrmmemberfrontunbindprivyAPIResponseModel is 品牌会员解绑(隐私号版) 成功返回结果

type TmallcrmmemberpointchangeAPIRequest added in v1.3.1

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

TmallcrmmemberpointchangeAPIRequest 会员积分变更 API请求 tmall.crm.member.point.change

品牌CRM项目中,会员积分变更接口。

func NewTmallcrmmemberpointchangeRequest added in v1.3.1

func NewTmallcrmmemberpointchangeRequest() *TmallcrmmemberpointchangeAPIRequest

NewTmallcrmmemberpointchangeRequest 初始化TmallcrmmemberpointchangeAPIRequest对象

func (TmallcrmmemberpointchangeAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcrmmemberpointchangeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcrmmemberpointchangeAPIRequest) GetApiParams added in v1.3.1

func (r TmallcrmmemberpointchangeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcrmmemberpointchangeAPIRequest) GetBizCode added in v1.3.1

GetBizCode BizCode Getter

func (TmallcrmmemberpointchangeAPIRequest) GetBizDetail added in v1.3.1

GetBizDetail BizDetail Getter

func (TmallcrmmemberpointchangeAPIRequest) GetPoint added in v1.3.1

GetPoint Point Getter

func (TmallcrmmemberpointchangeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallcrmmemberpointchangeAPIRequest) GetType added in v1.3.1

GetType Type Getter

func (TmallcrmmemberpointchangeAPIRequest) GetUserNick added in v1.3.1

GetUserNick UserNick Getter

func (*TmallcrmmemberpointchangeAPIRequest) SetBizCode added in v1.3.1

func (r *TmallcrmmemberpointchangeAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务代码

func (*TmallcrmmemberpointchangeAPIRequest) SetBizDetail added in v1.3.1

func (r *TmallcrmmemberpointchangeAPIRequest) SetBizDetail(_bizDetail string) error

SetBizDetail is BizDetail Setter 业务描述

func (*TmallcrmmemberpointchangeAPIRequest) SetPoint added in v1.3.1

func (r *TmallcrmmemberpointchangeAPIRequest) SetPoint(_point int64) error

SetPoint is Point Setter 更改积分数值

func (*TmallcrmmemberpointchangeAPIRequest) SetType added in v1.3.1

SetType is Type Setter minus:扣减;add:累加

func (*TmallcrmmemberpointchangeAPIRequest) SetUserNick added in v1.3.1

func (r *TmallcrmmemberpointchangeAPIRequest) SetUserNick(_userNick string) error

SetUserNick is UserNick Setter 用户昵称

type TmallcrmmemberpointchangeAPIResponse added in v1.3.1

type TmallcrmmemberpointchangeAPIResponse struct {
	model.CommonResponse
	TmallcrmmemberpointchangeAPIResponseModel
}

TmallcrmmemberpointchangeAPIResponse 会员积分变更 API返回值 tmall.crm.member.point.change

品牌CRM项目中,会员积分变更接口。

type TmallcrmmemberpointchangeAPIResponseModel added in v1.3.1

type TmallcrmmemberpointchangeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_crm_member_point_change_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TmallcrmmemberpointchangeAPIResponseModel is 会员积分变更 成功返回结果

type TmallmeicrmcallbackpointchangeAPIRequest added in v1.3.1

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

TmallmeicrmcallbackpointchangeAPIRequest 品牌积分变更回调API API请求 tmall.mei.crm.callback.point.change

线下品牌积分变更消息回调API,告诉积分扣减或者累加是否成功。

func NewTmallmeicrmcallbackpointchangeRequest added in v1.3.1

func NewTmallmeicrmcallbackpointchangeRequest() *TmallmeicrmcallbackpointchangeAPIRequest

NewTmallmeicrmcallbackpointchangeRequest 初始化TmallmeicrmcallbackpointchangeAPIRequest对象

func (TmallmeicrmcallbackpointchangeAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallmeicrmcallbackpointchangeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmeicrmcallbackpointchangeAPIRequest) GetApiParams added in v1.3.1

func (r TmallmeicrmcallbackpointchangeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmeicrmcallbackpointchangeAPIRequest) GetErrorCode added in v1.3.1

GetErrorCode ErrorCode Getter

func (TmallmeicrmcallbackpointchangeAPIRequest) GetExtInfo added in v1.3.1

GetExtInfo ExtInfo Getter

func (TmallmeicrmcallbackpointchangeAPIRequest) GetMixMobile added in v1.3.1

GetMixMobile MixMobile Getter

func (TmallmeicrmcallbackpointchangeAPIRequest) GetPoint added in v1.3.1

GetPoint Point Getter

func (TmallmeicrmcallbackpointchangeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallmeicrmcallbackpointchangeAPIRequest) GetRecordId added in v1.3.1

GetRecordId RecordId Getter

func (TmallmeicrmcallbackpointchangeAPIRequest) GetResult added in v1.3.1

GetResult Result Getter

func (*TmallmeicrmcallbackpointchangeAPIRequest) SetErrorCode added in v1.3.1

func (r *TmallmeicrmcallbackpointchangeAPIRequest) SetErrorCode(_errorCode string) error

SetErrorCode is ErrorCode Setter 处理失败的错误码.

func (*TmallmeicrmcallbackpointchangeAPIRequest) SetExtInfo added in v1.3.1

func (r *TmallmeicrmcallbackpointchangeAPIRequest) SetExtInfo(_extInfo string) error

SetExtInfo is ExtInfo Setter 拓展信息

func (*TmallmeicrmcallbackpointchangeAPIRequest) SetMixMobile added in v1.3.1

func (r *TmallmeicrmcallbackpointchangeAPIRequest) SetMixMobile(_mixMobile string) error

SetMixMobile is MixMobile Setter 混淆会员手机号码

func (*TmallmeicrmcallbackpointchangeAPIRequest) SetPoint added in v1.3.1

SetPoint is Point Setter 积分信息

func (*TmallmeicrmcallbackpointchangeAPIRequest) SetRecordId added in v1.3.1

func (r *TmallmeicrmcallbackpointchangeAPIRequest) SetRecordId(_recordId int64) error

SetRecordId is RecordId Setter 变更记录ID

func (*TmallmeicrmcallbackpointchangeAPIRequest) SetResult added in v1.3.1

SetResult is Result Setter 0:成功。1:失败

type TmallmeicrmcallbackpointchangeAPIResponse added in v1.3.1

type TmallmeicrmcallbackpointchangeAPIResponse struct {
	model.CommonResponse
	TmallmeicrmcallbackpointchangeAPIResponseModel
}

TmallmeicrmcallbackpointchangeAPIResponse 品牌积分变更回调API API返回值 tmall.mei.crm.callback.point.change

线下品牌积分变更消息回调API,告诉积分扣减或者累加是否成功。

type TmallmeicrmcallbackpointchangeAPIResponseModel added in v1.3.1

type TmallmeicrmcallbackpointchangeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_mei_crm_callback_point_change_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TmallmeicrmcallbackpointchangeAPIResponseModel is 品牌积分变更回调API 成功返回结果

type TmallmeicrmmembergetbypaycodeAPIRequest added in v1.3.1

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

TmallmeicrmmembergetbypaycodeAPIRequest 支付码获取会员信息 API请求 tmall.mei.crm.member.getbypaycode

通过支付码获取会员信息

func NewTmallmeicrmmembergetbypaycodeRequest added in v1.3.1

func NewTmallmeicrmmembergetbypaycodeRequest() *TmallmeicrmmembergetbypaycodeAPIRequest

NewTmallmeicrmmembergetbypaycodeRequest 初始化TmallmeicrmmembergetbypaycodeAPIRequest对象

func (TmallmeicrmmembergetbypaycodeAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallmeicrmmembergetbypaycodeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmeicrmmembergetbypaycodeAPIRequest) GetApiParams added in v1.3.1

func (r TmallmeicrmmembergetbypaycodeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmeicrmmembergetbypaycodeAPIRequest) GetPayCode added in v1.3.1

GetPayCode PayCode Getter

func (TmallmeicrmmembergetbypaycodeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallmeicrmmembergetbypaycodeAPIRequest) SetPayCode added in v1.3.1

func (r *TmallmeicrmmembergetbypaycodeAPIRequest) SetPayCode(_payCode string) error

SetPayCode is PayCode Setter 会员码

type TmallmeicrmmembergetbypaycodeAPIResponse added in v1.3.1

type TmallmeicrmmembergetbypaycodeAPIResponse struct {
	model.CommonResponse
	TmallmeicrmmembergetbypaycodeAPIResponseModel
}

TmallmeicrmmembergetbypaycodeAPIResponse 支付码获取会员信息 API返回值 tmall.mei.crm.member.getbypaycode

通过支付码获取会员信息

type TmallmeicrmmembergetbypaycodeAPIResponseModel added in v1.3.1

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

TmallmeicrmmembergetbypaycodeAPIResponseModel is 支付码获取会员信息 成功返回结果

type TmallmeicrmmembersyncAPIRequest added in v1.3.1

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

TmallmeicrmmembersyncAPIRequest 同步推送会员信息 API请求 tmall.mei.crm.member.sync

品牌方通过该api主动推送会员信息。使用场景包括 1.用户在线上注册后,线下补充信息后,同步到线上。 2.其他情况的主动推送变更。

func NewTmallmeicrmmembersyncRequest added in v1.3.1

func NewTmallmeicrmmembersyncRequest() *TmallmeicrmmembersyncAPIRequest

NewTmallmeicrmmembersyncRequest 初始化TmallmeicrmmembersyncAPIRequest对象

func (TmallmeicrmmembersyncAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallmeicrmmembersyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmeicrmmembersyncAPIRequest) GetApiParams added in v1.3.1

func (r TmallmeicrmmembersyncAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmeicrmmembersyncAPIRequest) GetExtend added in v1.3.1

GetExtend Extend Getter

func (TmallmeicrmmembersyncAPIRequest) GetLevel added in v1.3.1

GetLevel Level Getter

func (TmallmeicrmmembersyncAPIRequest) GetLevelExpireTime added in v1.3.1

func (r TmallmeicrmmembersyncAPIRequest) GetLevelExpireTime() int64

GetLevelExpireTime LevelExpireTime Getter

func (TmallmeicrmmembersyncAPIRequest) GetLevelPoint added in v1.3.1

func (r TmallmeicrmmembersyncAPIRequest) GetLevelPoint() string

GetLevelPoint LevelPoint Getter

func (TmallmeicrmmembersyncAPIRequest) GetLevelType added in v1.3.1

func (r TmallmeicrmmembersyncAPIRequest) GetLevelType() int64

GetLevelType LevelType Getter

func (TmallmeicrmmembersyncAPIRequest) GetMixNick added in v1.3.1

func (r TmallmeicrmmembersyncAPIRequest) GetMixNick() string

GetMixNick MixNick Getter

func (TmallmeicrmmembersyncAPIRequest) GetMobile added in v1.3.1

GetMobile Mobile Getter

func (TmallmeicrmmembersyncAPIRequest) GetNick added in v1.3.1

GetNick Nick Getter

func (TmallmeicrmmembersyncAPIRequest) GetPoint added in v1.3.1

GetPoint Point Getter

func (TmallmeicrmmembersyncAPIRequest) GetRawParams added in v1.3.1

func (r TmallmeicrmmembersyncAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallmeicrmmembersyncAPIRequest) GetVersion added in v1.3.1

func (r TmallmeicrmmembersyncAPIRequest) GetVersion() int64

GetVersion Version Getter

func (*TmallmeicrmmembersyncAPIRequest) SetExtend added in v1.3.1

func (r *TmallmeicrmmembersyncAPIRequest) SetExtend(_extend string) error

SetExtend is Extend Setter 会员拓展信息

func (*TmallmeicrmmembersyncAPIRequest) SetLevel added in v1.3.1

func (r *TmallmeicrmmembersyncAPIRequest) SetLevel(_level int64) error

SetLevel is Level Setter 会员等级

func (*TmallmeicrmmembersyncAPIRequest) SetLevelExpireTime added in v1.3.1

func (r *TmallmeicrmmembersyncAPIRequest) SetLevelExpireTime(_levelExpireTime int64) error

SetLevelExpireTime is LevelExpireTime Setter 毫秒级别时间戳,可不传,表示会员等级有效期

func (*TmallmeicrmmembersyncAPIRequest) SetLevelPoint added in v1.3.1

func (r *TmallmeicrmmembersyncAPIRequest) SetLevelPoint(_levelPoint string) error

SetLevelPoint is LevelPoint Setter 成长值字段,支持整数或小数(小数位最多两位),当level_type=2时,level_point必传

func (*TmallmeicrmmembersyncAPIRequest) SetLevelType added in v1.3.1

func (r *TmallmeicrmmembersyncAPIRequest) SetLevelType(_levelType int64) error

SetLevelType is LevelType Setter 1(表示传统等级模式), 2(成长值等级模式)

func (*TmallmeicrmmembersyncAPIRequest) SetMixNick added in v1.3.1

func (r *TmallmeicrmmembersyncAPIRequest) SetMixNick(_mixNick string) error

SetMixNick is MixNick Setter 混淆昵称

func (*TmallmeicrmmembersyncAPIRequest) SetMobile added in v1.3.1

func (r *TmallmeicrmmembersyncAPIRequest) SetMobile(_mobile string) error

SetMobile is Mobile Setter 会员手机号码

func (*TmallmeicrmmembersyncAPIRequest) SetNick added in v1.3.1

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

SetNick is Nick Setter 昵称

func (*TmallmeicrmmembersyncAPIRequest) SetPoint added in v1.3.1

func (r *TmallmeicrmmembersyncAPIRequest) SetPoint(_point int64) error

SetPoint is Point Setter 会员积分

func (*TmallmeicrmmembersyncAPIRequest) SetVersion added in v1.3.1

func (r *TmallmeicrmmembersyncAPIRequest) SetVersion(_version int64) error

SetVersion is Version Setter 该次同步的版本信息(建议使用时间戳)

type TmallmeicrmmembersyncAPIResponse added in v1.3.1

type TmallmeicrmmembersyncAPIResponse struct {
	model.CommonResponse
	TmallmeicrmmembersyncAPIResponseModel
}

TmallmeicrmmembersyncAPIResponse 同步推送会员信息 API返回值 tmall.mei.crm.member.sync

品牌方通过该api主动推送会员信息。使用场景包括 1.用户在线上注册后,线下补充信息后,同步到线上。 2.其他情况的主动推送变更。

type TmallmeicrmmembersyncAPIResponseModel added in v1.3.1

type TmallmeicrmmembersyncAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_mei_crm_member_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 处理的其他信息
	MeiExtraInfo string `json:"mei_extra_info,omitempty" xml:"mei_extra_info,omitempty"`
}

TmallmeicrmmembersyncAPIResponseModel is 同步推送会员信息 成功返回结果

type TmallmeicrmmembersyncprivyAPIRequest added in v1.3.1

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

TmallmeicrmmembersyncprivyAPIRequest 同步推送会员信息(隐私号版本) API请求 tmall.mei.crm.member.sync.privy

品牌方通过该api主动推送会员信息。使用场景包括 1.用户在线上注册后,线下补充信息后,同步到线上。 2.其他情况的主动推送变更。

func NewTmallmeicrmmembersyncprivyRequest added in v1.3.1

func NewTmallmeicrmmembersyncprivyRequest() *TmallmeicrmmembersyncprivyAPIRequest

NewTmallmeicrmmembersyncprivyRequest 初始化TmallmeicrmmembersyncprivyAPIRequest对象

func (TmallmeicrmmembersyncprivyAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallmeicrmmembersyncprivyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmeicrmmembersyncprivyAPIRequest) GetApiParams added in v1.3.1

func (r TmallmeicrmmembersyncprivyAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmeicrmmembersyncprivyAPIRequest) GetExtend added in v1.3.1

GetExtend Extend Getter

func (TmallmeicrmmembersyncprivyAPIRequest) GetLevel added in v1.3.1

GetLevel Level Getter

func (TmallmeicrmmembersyncprivyAPIRequest) GetLevelExpireTime added in v1.3.1

func (r TmallmeicrmmembersyncprivyAPIRequest) GetLevelExpireTime() int64

GetLevelExpireTime LevelExpireTime Getter

func (TmallmeicrmmembersyncprivyAPIRequest) GetLevelPoint added in v1.3.1

func (r TmallmeicrmmembersyncprivyAPIRequest) GetLevelPoint() string

GetLevelPoint LevelPoint Getter

func (TmallmeicrmmembersyncprivyAPIRequest) GetLevelType added in v1.3.1

GetLevelType LevelType Getter

func (TmallmeicrmmembersyncprivyAPIRequest) GetMobile added in v1.3.1

GetMobile Mobile Getter

func (TmallmeicrmmembersyncprivyAPIRequest) GetOuid added in v1.3.1

GetOuid Ouid Getter

func (TmallmeicrmmembersyncprivyAPIRequest) GetPoint added in v1.3.1

GetPoint Point Getter

func (TmallmeicrmmembersyncprivyAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallmeicrmmembersyncprivyAPIRequest) GetVersion added in v1.3.1

GetVersion Version Getter

func (*TmallmeicrmmembersyncprivyAPIRequest) SetExtend added in v1.3.1

func (r *TmallmeicrmmembersyncprivyAPIRequest) SetExtend(_extend string) error

SetExtend is Extend Setter 会员拓展信息

func (*TmallmeicrmmembersyncprivyAPIRequest) SetLevel added in v1.3.1

func (r *TmallmeicrmmembersyncprivyAPIRequest) SetLevel(_level int64) error

SetLevel is Level Setter 会员等级

func (*TmallmeicrmmembersyncprivyAPIRequest) SetLevelExpireTime added in v1.3.1

func (r *TmallmeicrmmembersyncprivyAPIRequest) SetLevelExpireTime(_levelExpireTime int64) error

SetLevelExpireTime is LevelExpireTime Setter 毫秒级别时间戳,可不传,表示会员等级有效期

func (*TmallmeicrmmembersyncprivyAPIRequest) SetLevelPoint added in v1.3.1

func (r *TmallmeicrmmembersyncprivyAPIRequest) SetLevelPoint(_levelPoint string) error

SetLevelPoint is LevelPoint Setter 成长值字段,支持整数或小数(小数位最多两位),当level_type=2时,level_point必传

func (*TmallmeicrmmembersyncprivyAPIRequest) SetLevelType added in v1.3.1

func (r *TmallmeicrmmembersyncprivyAPIRequest) SetLevelType(_levelType int64) error

SetLevelType is LevelType Setter 1(表示传统等级模式), 2(成长值等级模式)

func (*TmallmeicrmmembersyncprivyAPIRequest) SetMobile added in v1.3.1

func (r *TmallmeicrmmembersyncprivyAPIRequest) SetMobile(_mobile string) error

SetMobile is Mobile Setter 会员手机号码

func (*TmallmeicrmmembersyncprivyAPIRequest) SetOuid added in v1.3.1

SetOuid is Ouid Setter ouid

func (*TmallmeicrmmembersyncprivyAPIRequest) SetPoint added in v1.3.1

func (r *TmallmeicrmmembersyncprivyAPIRequest) SetPoint(_point int64) error

SetPoint is Point Setter 会员积分

func (*TmallmeicrmmembersyncprivyAPIRequest) SetVersion added in v1.3.1

func (r *TmallmeicrmmembersyncprivyAPIRequest) SetVersion(_version int64) error

SetVersion is Version Setter 该次同步的版本信息(建议使用时间戳)

type TmallmeicrmmembersyncprivyAPIResponse added in v1.3.1

type TmallmeicrmmembersyncprivyAPIResponse struct {
	model.CommonResponse
	TmallmeicrmmembersyncprivyAPIResponseModel
}

TmallmeicrmmembersyncprivyAPIResponse 同步推送会员信息(隐私号版本) API返回值 tmall.mei.crm.member.sync.privy

品牌方通过该api主动推送会员信息。使用场景包括 1.用户在线上注册后,线下补充信息后,同步到线上。 2.其他情况的主动推送变更。

type TmallmeicrmmembersyncprivyAPIResponseModel added in v1.3.1

type TmallmeicrmmembersyncprivyAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_mei_crm_member_sync_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 处理的其他信息
	MeiExtraInfo string `json:"mei_extra_info,omitempty" xml:"mei_extra_info,omitempty"`
}

TmallmeicrmmembersyncprivyAPIResponseModel is 同步推送会员信息(隐私号版本) 成功返回结果

Jump to

Keyboard shortcuts

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