westcrm

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package westcrm 包含亲橙里westcrmAPI相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaWestcrmCustomerInfoGetAPIRequest added in v1.3.4

func ReleaseAlibabaWestcrmCustomerInfoGetAPIRequest(v *AlibabaWestcrmCustomerInfoGetAPIRequest)

ReleaseAlibabaWestcrmCustomerInfoGetAPIRequest 将 AlibabaWestcrmCustomerInfoGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaWestcrmCustomerInfoGetAPIResponse added in v1.3.4

func ReleaseAlibabaWestcrmCustomerInfoGetAPIResponse(v *AlibabaWestcrmCustomerInfoGetAPIResponse)

ReleaseAlibabaWestcrmCustomerInfoGetAPIResponse 将 AlibabaWestcrmCustomerInfoGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaWestcrmGradeGetAPIRequest added in v1.3.4

func ReleaseAlibabaWestcrmGradeGetAPIRequest(v *AlibabaWestcrmGradeGetAPIRequest)

ReleaseAlibabaWestcrmGradeGetAPIRequest 将 AlibabaWestcrmGradeGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaWestcrmGradeGetAPIResponse added in v1.3.4

func ReleaseAlibabaWestcrmGradeGetAPIResponse(v *AlibabaWestcrmGradeGetAPIResponse)

ReleaseAlibabaWestcrmGradeGetAPIResponse 将 AlibabaWestcrmGradeGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaWestcrmGradeGetData added in v1.3.4

func ReleaseAlibabaWestcrmGradeGetData(v *AlibabaWestcrmGradeGetData)

ReleaseAlibabaWestcrmGradeGetData 释放AlibabaWestcrmGradeGetData

func ReleaseAlibabaWestcrmUserConsumerGetAPIRequest added in v1.3.4

func ReleaseAlibabaWestcrmUserConsumerGetAPIRequest(v *AlibabaWestcrmUserConsumerGetAPIRequest)

ReleaseAlibabaWestcrmUserConsumerGetAPIRequest 将 AlibabaWestcrmUserConsumerGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaWestcrmUserConsumerGetAPIResponse added in v1.3.4

func ReleaseAlibabaWestcrmUserConsumerGetAPIResponse(v *AlibabaWestcrmUserConsumerGetAPIResponse)

ReleaseAlibabaWestcrmUserConsumerGetAPIResponse 将 AlibabaWestcrmUserConsumerGetAPIResponse 保存到 sync.Pool

func ReleaseCustomerBaseInfoVo added in v1.3.4

func ReleaseCustomerBaseInfoVo(v *CustomerBaseInfoVo)

ReleaseCustomerBaseInfoVo 释放CustomerBaseInfoVo

func ReleaseDataResult added in v1.3.4

func ReleaseDataResult(v *DataResult)

ReleaseDataResult 释放DataResult

func ReleaseOrderVo added in v1.3.4

func ReleaseOrderVo(v *OrderVo)

ReleaseOrderVo 释放OrderVo

func ReleaseUserConsumerVo added in v1.3.4

func ReleaseUserConsumerVo(v *UserConsumerVo)

ReleaseUserConsumerVo 释放UserConsumerVo

Types

type AlibabaWestcrmCustomerInfoGetAPIRequest added in v1.2.0

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

AlibabaWestcrmCustomerInfoGetAPIRequest 会员信息查询接口 API请求 alibaba.westcrm.customer.info.get

会员信息查询接口

func GetAlibabaWestcrmCustomerInfoGetAPIRequest added in v1.3.4

func GetAlibabaWestcrmCustomerInfoGetAPIRequest() *AlibabaWestcrmCustomerInfoGetAPIRequest

GetAlibabaWestcrmCustomerInfoGetRequest 从 sync.Pool 获取 AlibabaWestcrmCustomerInfoGetAPIRequest

func NewAlibabaWestcrmCustomerInfoGetRequest

func NewAlibabaWestcrmCustomerInfoGetRequest() *AlibabaWestcrmCustomerInfoGetAPIRequest

NewAlibabaWestcrmCustomerInfoGetRequest 初始化AlibabaWestcrmCustomerInfoGetAPIRequest对象

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetAlipayId added in v1.2.0

GetAlipayId AlipayId Getter

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetCampusId added in v1.2.0

GetCampusId CampusId Getter

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetIbUserId added in v1.2.0

GetIbUserId IbUserId Getter

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaWestcrmCustomerInfoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaWestcrmCustomerInfoGetAPIRequest) SetAlipayId added in v1.2.0

func (r *AlibabaWestcrmCustomerInfoGetAPIRequest) SetAlipayId(_alipayId string) error

SetAlipayId is AlipayId Setter 支付宝id

func (*AlibabaWestcrmCustomerInfoGetAPIRequest) SetCampusId added in v1.2.0

func (r *AlibabaWestcrmCustomerInfoGetAPIRequest) SetCampusId(_campusId int64) error

SetCampusId is CampusId Setter 园区id

func (*AlibabaWestcrmCustomerInfoGetAPIRequest) SetIbUserId added in v1.2.0

func (r *AlibabaWestcrmCustomerInfoGetAPIRequest) SetIbUserId(_ibUserId int64) error

SetIbUserId is IbUserId Setter 会员id

type AlibabaWestcrmCustomerInfoGetAPIResponse

type AlibabaWestcrmCustomerInfoGetAPIResponse struct {
	model.CommonResponse
	AlibabaWestcrmCustomerInfoGetAPIResponseModel
}

AlibabaWestcrmCustomerInfoGetAPIResponse 会员信息查询接口 API返回值 alibaba.westcrm.customer.info.get

会员信息查询接口

func GetAlibabaWestcrmCustomerInfoGetAPIResponse added in v1.3.4

func GetAlibabaWestcrmCustomerInfoGetAPIResponse() *AlibabaWestcrmCustomerInfoGetAPIResponse

GetAlibabaWestcrmCustomerInfoGetAPIResponse 从 sync.Pool 获取 AlibabaWestcrmCustomerInfoGetAPIResponse

func (*AlibabaWestcrmCustomerInfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaWestcrmCustomerInfoGetAPIResponseModel added in v1.2.0

type AlibabaWestcrmCustomerInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_westcrm_customer_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象封装
	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaWestcrmCustomerInfoGetAPIResponseModel is 会员信息查询接口 成功返回结果

func (*AlibabaWestcrmCustomerInfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaWestcrmGradeGetAPIRequest added in v1.2.0

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

AlibabaWestcrmGradeGetAPIRequest 获取等级列表 API请求 alibaba.westcrm.grade.get

获取会员卡等级列表

func GetAlibabaWestcrmGradeGetAPIRequest added in v1.3.4

func GetAlibabaWestcrmGradeGetAPIRequest() *AlibabaWestcrmGradeGetAPIRequest

GetAlibabaWestcrmGradeGetRequest 从 sync.Pool 获取 AlibabaWestcrmGradeGetAPIRequest

func NewAlibabaWestcrmGradeGetRequest

func NewAlibabaWestcrmGradeGetRequest() *AlibabaWestcrmGradeGetAPIRequest

NewAlibabaWestcrmGradeGetRequest 初始化AlibabaWestcrmGradeGetAPIRequest对象

func (AlibabaWestcrmGradeGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWestcrmGradeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWestcrmGradeGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWestcrmGradeGetAPIRequest) GetCampusId added in v1.2.0

func (r AlibabaWestcrmGradeGetAPIRequest) GetCampusId() int64

GetCampusId CampusId Getter

func (AlibabaWestcrmGradeGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaWestcrmGradeGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaWestcrmGradeGetAPIRequest) SetCampusId added in v1.2.0

func (r *AlibabaWestcrmGradeGetAPIRequest) SetCampusId(_campusId int64) error

SetCampusId is CampusId Setter 园区id

type AlibabaWestcrmGradeGetAPIResponse

type AlibabaWestcrmGradeGetAPIResponse struct {
	model.CommonResponse
	AlibabaWestcrmGradeGetAPIResponseModel
}

AlibabaWestcrmGradeGetAPIResponse 获取等级列表 API返回值 alibaba.westcrm.grade.get

获取会员卡等级列表

func GetAlibabaWestcrmGradeGetAPIResponse added in v1.3.4

func GetAlibabaWestcrmGradeGetAPIResponse() *AlibabaWestcrmGradeGetAPIResponse

GetAlibabaWestcrmGradeGetAPIResponse 从 sync.Pool 获取 AlibabaWestcrmGradeGetAPIResponse

func (*AlibabaWestcrmGradeGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaWestcrmGradeGetAPIResponseModel added in v1.2.0

type AlibabaWestcrmGradeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_westcrm_grade_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象封装
	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaWestcrmGradeGetAPIResponseModel is 获取等级列表 成功返回结果

func (*AlibabaWestcrmGradeGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaWestcrmGradeGetData

type AlibabaWestcrmGradeGetData struct {
	// 等级名称
	GradeName string `json:"grade_name,omitempty" xml:"grade_name,omitempty"`
	// 等级列表
	GradeNum int64 `json:"grade_num,omitempty" xml:"grade_num,omitempty"`
	// 等级id
	GradeId int64 `json:"grade_id,omitempty" xml:"grade_id,omitempty"`
}

AlibabaWestcrmGradeGetData 结构体

func GetAlibabaWestcrmGradeGetData added in v1.3.4

func GetAlibabaWestcrmGradeGetData() *AlibabaWestcrmGradeGetData

GetAlibabaWestcrmGradeGetData() 从对象池中获取AlibabaWestcrmGradeGetData

type AlibabaWestcrmUserConsumerGetAPIRequest added in v1.2.0

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

AlibabaWestcrmUserConsumerGetAPIRequest 获取指定用户的消费总额 API请求 alibaba.westcrm.user.consumer.get

获取指定用户的消费总额

func GetAlibabaWestcrmUserConsumerGetAPIRequest added in v1.3.4

func GetAlibabaWestcrmUserConsumerGetAPIRequest() *AlibabaWestcrmUserConsumerGetAPIRequest

GetAlibabaWestcrmUserConsumerGetRequest 从 sync.Pool 获取 AlibabaWestcrmUserConsumerGetAPIRequest

func NewAlibabaWestcrmUserConsumerGetRequest

func NewAlibabaWestcrmUserConsumerGetRequest() *AlibabaWestcrmUserConsumerGetAPIRequest

NewAlibabaWestcrmUserConsumerGetRequest 初始化AlibabaWestcrmUserConsumerGetAPIRequest对象

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetCampusId added in v1.2.0

GetCampusId CampusId Getter

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetIbUserId added in v1.2.0

GetIbUserId IbUserId Getter

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetTimeBegin added in v1.2.0

GetTimeBegin TimeBegin Getter

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetTimeEnd added in v1.2.0

GetTimeEnd TimeEnd Getter

func (*AlibabaWestcrmUserConsumerGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaWestcrmUserConsumerGetAPIRequest) SetCampusId added in v1.2.0

func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetCampusId(_campusId int64) error

SetCampusId is CampusId Setter 园区id

func (*AlibabaWestcrmUserConsumerGetAPIRequest) SetIbUserId added in v1.2.0

func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetIbUserId(_ibUserId int64) error

SetIbUserId is IbUserId Setter 用户id

func (*AlibabaWestcrmUserConsumerGetAPIRequest) SetTimeBegin added in v1.2.0

func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetTimeBegin(_timeBegin string) error

SetTimeBegin is TimeBegin Setter 开始时间

func (*AlibabaWestcrmUserConsumerGetAPIRequest) SetTimeEnd added in v1.2.0

func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetTimeEnd(_timeEnd string) error

SetTimeEnd is TimeEnd Setter 结束时间

type AlibabaWestcrmUserConsumerGetAPIResponse

type AlibabaWestcrmUserConsumerGetAPIResponse struct {
	model.CommonResponse
	AlibabaWestcrmUserConsumerGetAPIResponseModel
}

AlibabaWestcrmUserConsumerGetAPIResponse 获取指定用户的消费总额 API返回值 alibaba.westcrm.user.consumer.get

获取指定用户的消费总额

func GetAlibabaWestcrmUserConsumerGetAPIResponse added in v1.3.4

func GetAlibabaWestcrmUserConsumerGetAPIResponse() *AlibabaWestcrmUserConsumerGetAPIResponse

GetAlibabaWestcrmUserConsumerGetAPIResponse 从 sync.Pool 获取 AlibabaWestcrmUserConsumerGetAPIResponse

func (*AlibabaWestcrmUserConsumerGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaWestcrmUserConsumerGetAPIResponseModel added in v1.2.0

type AlibabaWestcrmUserConsumerGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_westcrm_user_consumer_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象封装
	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaWestcrmUserConsumerGetAPIResponseModel is 获取指定用户的消费总额 成功返回结果

func (*AlibabaWestcrmUserConsumerGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CustomerBaseInfoVo

type CustomerBaseInfoVo struct {
	// 头像
	Avatar string `json:"avatar,omitempty" xml:"avatar,omitempty"`
	// 电话
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 等级名称
	GradeName string `json:"grade_name,omitempty" xml:"grade_name,omitempty"`
	// 积分
	Point int64 `json:"point,omitempty" xml:"point,omitempty"`
	// 等级序号
	GradeNum int64 `json:"grade_num,omitempty" xml:"grade_num,omitempty"`
	// 园区id
	CampusId int64 `json:"campus_id,omitempty" xml:"campus_id,omitempty"`
	// 性别
	Gender int64 `json:"gender,omitempty" xml:"gender,omitempty"`
	// 等级id
	GradeId int64 `json:"grade_id,omitempty" xml:"grade_id,omitempty"`
	// 用户id
	IbUserId int64 `json:"ib_user_id,omitempty" xml:"ib_user_id,omitempty"`
}

CustomerBaseInfoVo 结构体

func GetCustomerBaseInfoVo added in v1.3.4

func GetCustomerBaseInfoVo() *CustomerBaseInfoVo

GetCustomerBaseInfoVo() 从对象池中获取CustomerBaseInfoVo

type DataResult

type DataResult struct {
	// 返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// data
	DataList *CustomerBaseInfoVo `json:"data_list,omitempty" xml:"data_list,omitempty"`
	// 参数code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// data
	Data *UserConsumerVo `json:"data,omitempty" xml:"data,omitempty"`
}

DataResult 结构体

func GetDataResult added in v1.3.4

func GetDataResult() *DataResult

GetDataResult() 从对象池中获取DataResult

type OrderVo

type OrderVo struct {
	// 账单金额
	OrderPay string `json:"order_pay,omitempty" xml:"order_pay,omitempty"`
	// 账单id
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 消费时间
	OrderTime string `json:"order_time,omitempty" xml:"order_time,omitempty"`
}

OrderVo 结构体

func GetOrderVo added in v1.3.4

func GetOrderVo() *OrderVo

GetOrderVo() 从对象池中获取OrderVo

type UserConsumerVo

type UserConsumerVo struct {
	// 订单
	Orders []OrderVo `json:"orders,omitempty" xml:"orders>order_vo,omitempty"`
	// 消费总额
	TotalPay string `json:"total_pay,omitempty" xml:"total_pay,omitempty"`
	// 用户id
	IbUserId int64 `json:"ib_user_id,omitempty" xml:"ib_user_id,omitempty"`
}

UserConsumerVo 结构体

func GetUserConsumerVo added in v1.3.4

func GetUserConsumerVo() *UserConsumerVo

GetUserConsumerVo() 从对象池中获取UserConsumerVo

Jump to

Keyboard shortcuts

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