mei

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

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

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

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

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

品牌会员解绑功能

func NewTmallCrmMemberFrontUnbindRequest

func NewTmallCrmMemberFrontUnbindRequest() *TmallCrmMemberFrontUnbindAPIRequest

NewTmallCrmMemberFrontUnbindRequest 初始化TmallCrmMemberFrontUnbindAPIRequest对象

func (TmallCrmMemberFrontUnbindAPIRequest) GetApiMethodName

func (r TmallCrmMemberFrontUnbindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCrmMemberFrontUnbindAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCrmMemberFrontUnbindAPIRequest) GetUserNick

GetUserNick UserNick Getter

func (*TmallCrmMemberFrontUnbindAPIRequest) SetUserNick

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

SetUserNick is UserNick Setter 会员昵称

type TmallCrmMemberFrontUnbindAPIResponse

type TmallCrmMemberFrontUnbindAPIResponse struct {
	model.CommonResponse
	TmallCrmMemberFrontUnbindAPIResponseModel
}

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

品牌会员解绑功能

type TmallCrmMemberFrontUnbindAPIResponseModel

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.2.5

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

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

品牌会员解绑功能

func NewTmallCrmMemberFrontUnbindPrivyRequest added in v1.2.5

func NewTmallCrmMemberFrontUnbindPrivyRequest() *TmallCrmMemberFrontUnbindPrivyAPIRequest

NewTmallCrmMemberFrontUnbindPrivyRequest 初始化TmallCrmMemberFrontUnbindPrivyAPIRequest对象

func (TmallCrmMemberFrontUnbindPrivyAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallCrmMemberFrontUnbindPrivyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCrmMemberFrontUnbindPrivyAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCrmMemberFrontUnbindPrivyAPIRequest) GetOuid added in v1.2.5

GetOuid Ouid Getter

func (*TmallCrmMemberFrontUnbindPrivyAPIRequest) SetOuid added in v1.2.5

SetOuid is Ouid Setter ouid

type TmallCrmMemberFrontUnbindPrivyAPIResponse added in v1.2.5

type TmallCrmMemberFrontUnbindPrivyAPIResponse struct {
	model.CommonResponse
	TmallCrmMemberFrontUnbindPrivyAPIResponseModel
}

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

品牌会员解绑功能

type TmallCrmMemberFrontUnbindPrivyAPIResponseModel added in v1.2.5

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

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

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

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

func NewTmallCrmMemberPointChangeRequest

func NewTmallCrmMemberPointChangeRequest() *TmallCrmMemberPointChangeAPIRequest

NewTmallCrmMemberPointChangeRequest 初始化TmallCrmMemberPointChangeAPIRequest对象

func (TmallCrmMemberPointChangeAPIRequest) GetApiMethodName

func (r TmallCrmMemberPointChangeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCrmMemberPointChangeAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCrmMemberPointChangeAPIRequest) GetBizCode

GetBizCode BizCode Getter

func (TmallCrmMemberPointChangeAPIRequest) GetBizDetail

GetBizDetail BizDetail Getter

func (TmallCrmMemberPointChangeAPIRequest) GetPoint

GetPoint Point Getter

func (TmallCrmMemberPointChangeAPIRequest) GetType

GetType Type Getter

func (TmallCrmMemberPointChangeAPIRequest) GetUserNick

GetUserNick UserNick Getter

func (*TmallCrmMemberPointChangeAPIRequest) SetBizCode

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

SetBizCode is BizCode Setter 业务代码

func (*TmallCrmMemberPointChangeAPIRequest) SetBizDetail

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

SetBizDetail is BizDetail Setter 业务描述

func (*TmallCrmMemberPointChangeAPIRequest) SetPoint

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

SetPoint is Point Setter 更改积分数值

func (*TmallCrmMemberPointChangeAPIRequest) SetType

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

func (*TmallCrmMemberPointChangeAPIRequest) SetUserNick

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

SetUserNick is UserNick Setter 用户昵称

type TmallCrmMemberPointChangeAPIResponse

type TmallCrmMemberPointChangeAPIResponse struct {
	model.CommonResponse
	TmallCrmMemberPointChangeAPIResponseModel
}

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

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

type TmallCrmMemberPointChangeAPIResponseModel

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

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

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

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

func NewTmallMeiCrmCallbackPointChangeRequest

func NewTmallMeiCrmCallbackPointChangeRequest() *TmallMeiCrmCallbackPointChangeAPIRequest

NewTmallMeiCrmCallbackPointChangeRequest 初始化TmallMeiCrmCallbackPointChangeAPIRequest对象

func (TmallMeiCrmCallbackPointChangeAPIRequest) GetApiMethodName

func (r TmallMeiCrmCallbackPointChangeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallMeiCrmCallbackPointChangeAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TmallMeiCrmCallbackPointChangeAPIRequest) GetErrorCode

GetErrorCode ErrorCode Getter

func (TmallMeiCrmCallbackPointChangeAPIRequest) GetExtInfo

GetExtInfo ExtInfo Getter

func (TmallMeiCrmCallbackPointChangeAPIRequest) GetMixMobile

GetMixMobile MixMobile Getter

func (TmallMeiCrmCallbackPointChangeAPIRequest) GetPoint

GetPoint Point Getter

func (TmallMeiCrmCallbackPointChangeAPIRequest) GetRecordId

GetRecordId RecordId Getter

func (TmallMeiCrmCallbackPointChangeAPIRequest) GetResult

GetResult Result Getter

func (*TmallMeiCrmCallbackPointChangeAPIRequest) SetErrorCode

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

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

func (*TmallMeiCrmCallbackPointChangeAPIRequest) SetExtInfo

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

SetExtInfo is ExtInfo Setter 拓展信息

func (*TmallMeiCrmCallbackPointChangeAPIRequest) SetMixMobile

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

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

func (*TmallMeiCrmCallbackPointChangeAPIRequest) SetPoint

SetPoint is Point Setter 积分信息

func (*TmallMeiCrmCallbackPointChangeAPIRequest) SetRecordId

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

SetRecordId is RecordId Setter 变更记录ID

func (*TmallMeiCrmCallbackPointChangeAPIRequest) SetResult

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

type TmallMeiCrmCallbackPointChangeAPIResponse

type TmallMeiCrmCallbackPointChangeAPIResponse struct {
	model.CommonResponse
	TmallMeiCrmCallbackPointChangeAPIResponseModel
}

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

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

type TmallMeiCrmCallbackPointChangeAPIResponseModel

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

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

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

通过支付码获取会员信息

func NewTmallMeiCrmMemberGetbypaycodeRequest

func NewTmallMeiCrmMemberGetbypaycodeRequest() *TmallMeiCrmMemberGetbypaycodeAPIRequest

NewTmallMeiCrmMemberGetbypaycodeRequest 初始化TmallMeiCrmMemberGetbypaycodeAPIRequest对象

func (TmallMeiCrmMemberGetbypaycodeAPIRequest) GetApiMethodName

func (r TmallMeiCrmMemberGetbypaycodeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallMeiCrmMemberGetbypaycodeAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TmallMeiCrmMemberGetbypaycodeAPIRequest) GetPayCode

GetPayCode PayCode Getter

func (*TmallMeiCrmMemberGetbypaycodeAPIRequest) SetPayCode

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

SetPayCode is PayCode Setter 会员码

type TmallMeiCrmMemberGetbypaycodeAPIResponse

type TmallMeiCrmMemberGetbypaycodeAPIResponse struct {
	model.CommonResponse
	TmallMeiCrmMemberGetbypaycodeAPIResponseModel
}

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

通过支付码获取会员信息

type TmallMeiCrmMemberGetbypaycodeAPIResponseModel

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

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

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

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

func NewTmallMeiCrmMemberSyncRequest

func NewTmallMeiCrmMemberSyncRequest() *TmallMeiCrmMemberSyncAPIRequest

NewTmallMeiCrmMemberSyncRequest 初始化TmallMeiCrmMemberSyncAPIRequest对象

func (TmallMeiCrmMemberSyncAPIRequest) GetApiMethodName

func (r TmallMeiCrmMemberSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallMeiCrmMemberSyncAPIRequest) GetApiParams

func (r TmallMeiCrmMemberSyncAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallMeiCrmMemberSyncAPIRequest) GetExtend

GetExtend Extend Getter

func (TmallMeiCrmMemberSyncAPIRequest) GetLevel

GetLevel Level Getter

func (TmallMeiCrmMemberSyncAPIRequest) GetLevelExpireTime added in v1.2.5

func (r TmallMeiCrmMemberSyncAPIRequest) GetLevelExpireTime() int64

GetLevelExpireTime LevelExpireTime Getter

func (TmallMeiCrmMemberSyncAPIRequest) GetLevelPoint added in v1.2.5

func (r TmallMeiCrmMemberSyncAPIRequest) GetLevelPoint() string

GetLevelPoint LevelPoint Getter

func (TmallMeiCrmMemberSyncAPIRequest) GetLevelType added in v1.2.5

func (r TmallMeiCrmMemberSyncAPIRequest) GetLevelType() int64

GetLevelType LevelType Getter

func (TmallMeiCrmMemberSyncAPIRequest) GetMixNick

func (r TmallMeiCrmMemberSyncAPIRequest) GetMixNick() string

GetMixNick MixNick Getter

func (TmallMeiCrmMemberSyncAPIRequest) GetMobile

GetMobile Mobile Getter

func (TmallMeiCrmMemberSyncAPIRequest) GetNick

GetNick Nick Getter

func (TmallMeiCrmMemberSyncAPIRequest) GetPoint

GetPoint Point Getter

func (TmallMeiCrmMemberSyncAPIRequest) GetVersion

func (r TmallMeiCrmMemberSyncAPIRequest) GetVersion() int64

GetVersion Version Getter

func (*TmallMeiCrmMemberSyncAPIRequest) SetExtend

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

SetExtend is Extend Setter 会员拓展信息

func (*TmallMeiCrmMemberSyncAPIRequest) SetLevel

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

SetLevel is Level Setter 会员等级

func (*TmallMeiCrmMemberSyncAPIRequest) SetLevelExpireTime added in v1.2.5

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

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

func (*TmallMeiCrmMemberSyncAPIRequest) SetLevelPoint added in v1.2.5

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

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

func (*TmallMeiCrmMemberSyncAPIRequest) SetLevelType added in v1.2.5

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

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

func (*TmallMeiCrmMemberSyncAPIRequest) SetMixNick

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

SetMixNick is MixNick Setter 混淆昵称

func (*TmallMeiCrmMemberSyncAPIRequest) SetMobile

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

SetMobile is Mobile Setter 会员手机号码

func (*TmallMeiCrmMemberSyncAPIRequest) SetNick

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

SetNick is Nick Setter 昵称

func (*TmallMeiCrmMemberSyncAPIRequest) SetPoint

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

SetPoint is Point Setter 会员积分

func (*TmallMeiCrmMemberSyncAPIRequest) SetVersion

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

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

type TmallMeiCrmMemberSyncAPIResponse

type TmallMeiCrmMemberSyncAPIResponse struct {
	model.CommonResponse
	TmallMeiCrmMemberSyncAPIResponseModel
}

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

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

type TmallMeiCrmMemberSyncAPIResponseModel

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.2.5

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.2.5

func NewTmallMeiCrmMemberSyncPrivyRequest() *TmallMeiCrmMemberSyncPrivyAPIRequest

NewTmallMeiCrmMemberSyncPrivyRequest 初始化TmallMeiCrmMemberSyncPrivyAPIRequest对象

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallMeiCrmMemberSyncPrivyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetExtend added in v1.2.5

GetExtend Extend Getter

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetLevel added in v1.2.5

GetLevel Level Getter

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetLevelExpireTime added in v1.2.5

func (r TmallMeiCrmMemberSyncPrivyAPIRequest) GetLevelExpireTime() int64

GetLevelExpireTime LevelExpireTime Getter

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetLevelPoint added in v1.2.5

func (r TmallMeiCrmMemberSyncPrivyAPIRequest) GetLevelPoint() string

GetLevelPoint LevelPoint Getter

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetLevelType added in v1.2.5

GetLevelType LevelType Getter

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetMobile added in v1.2.5

GetMobile Mobile Getter

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetOuid added in v1.2.5

GetOuid Ouid Getter

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetPoint added in v1.2.5

GetPoint Point Getter

func (TmallMeiCrmMemberSyncPrivyAPIRequest) GetVersion added in v1.2.5

GetVersion Version Getter

func (*TmallMeiCrmMemberSyncPrivyAPIRequest) SetExtend added in v1.2.5

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

SetExtend is Extend Setter 会员拓展信息

func (*TmallMeiCrmMemberSyncPrivyAPIRequest) SetLevel added in v1.2.5

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

SetLevel is Level Setter 会员等级

func (*TmallMeiCrmMemberSyncPrivyAPIRequest) SetLevelExpireTime added in v1.2.5

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

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

func (*TmallMeiCrmMemberSyncPrivyAPIRequest) SetLevelPoint added in v1.2.5

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

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

func (*TmallMeiCrmMemberSyncPrivyAPIRequest) SetLevelType added in v1.2.5

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

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

func (*TmallMeiCrmMemberSyncPrivyAPIRequest) SetMobile added in v1.2.5

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

SetMobile is Mobile Setter 会员手机号码

func (*TmallMeiCrmMemberSyncPrivyAPIRequest) SetOuid added in v1.2.5

SetOuid is Ouid Setter ouid

func (*TmallMeiCrmMemberSyncPrivyAPIRequest) SetPoint added in v1.2.5

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

SetPoint is Point Setter 会员积分

func (*TmallMeiCrmMemberSyncPrivyAPIRequest) SetVersion added in v1.2.5

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

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

type TmallMeiCrmMemberSyncPrivyAPIResponse added in v1.2.5

type TmallMeiCrmMemberSyncPrivyAPIResponse struct {
	model.CommonResponse
	TmallMeiCrmMemberSyncPrivyAPIResponseModel
}

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

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

type TmallMeiCrmMemberSyncPrivyAPIResponseModel added in v1.2.5

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