Documentation ¶
Overview ¶
Package westcrm 包含亲橙里westcrmAPI相关结构体
Index ¶
- type AlibabaWestcrmCustomerInfoGetAPIRequest
- func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetAlipayId() string
- func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetApiMethodName() string
- func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetCampusId() int64
- func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetIbUserId() int64
- func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetRawParams() model.Params
- func (r *AlibabaWestcrmCustomerInfoGetAPIRequest) SetAlipayId(_alipayId string) error
- func (r *AlibabaWestcrmCustomerInfoGetAPIRequest) SetCampusId(_campusId int64) error
- func (r *AlibabaWestcrmCustomerInfoGetAPIRequest) SetIbUserId(_ibUserId int64) error
- type AlibabaWestcrmCustomerInfoGetAPIResponse
- type AlibabaWestcrmCustomerInfoGetAPIResponseModel
- type AlibabaWestcrmGradeGetAPIRequest
- func (r AlibabaWestcrmGradeGetAPIRequest) GetApiMethodName() string
- func (r AlibabaWestcrmGradeGetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaWestcrmGradeGetAPIRequest) GetCampusId() int64
- func (r AlibabaWestcrmGradeGetAPIRequest) GetRawParams() model.Params
- func (r *AlibabaWestcrmGradeGetAPIRequest) SetCampusId(_campusId int64) error
- type AlibabaWestcrmGradeGetAPIResponse
- type AlibabaWestcrmGradeGetAPIResponseModel
- type AlibabaWestcrmGradeGetData
- type AlibabaWestcrmUserConsumerGetAPIRequest
- func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetApiMethodName() string
- func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetCampusId() int64
- func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetIbUserId() int64
- func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetRawParams() model.Params
- func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetTimeBegin() string
- func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetTimeEnd() string
- func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetCampusId(_campusId int64) error
- func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetIbUserId(_ibUserId int64) error
- func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetTimeBegin(_timeBegin string) error
- func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetTimeEnd(_timeEnd string) error
- type AlibabaWestcrmUserConsumerGetAPIResponse
- type AlibabaWestcrmUserConsumerGetAPIResponseModel
- type CustomerBaseInfoVo
- type DataResult
- type OrderVo
- type UserConsumerVo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 NewAlibabaWestcrmCustomerInfoGetRequest ¶
func NewAlibabaWestcrmCustomerInfoGetRequest() *AlibabaWestcrmCustomerInfoGetAPIRequest
NewAlibabaWestcrmCustomerInfoGetRequest 初始化AlibabaWestcrmCustomerInfoGetAPIRequest对象
func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetAlipayId ¶ added in v1.2.0
func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetAlipayId() string
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
func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetCampusId() int64
GetCampusId CampusId Getter
func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetIbUserId ¶ added in v1.2.0
func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetIbUserId() int64
GetIbUserId IbUserId Getter
func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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
会员信息查询接口
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 会员信息查询接口 成功返回结果
type AlibabaWestcrmGradeGetAPIRequest ¶ added in v1.2.0
type AlibabaWestcrmGradeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWestcrmGradeGetAPIRequest 获取等级列表 API请求 alibaba.westcrm.grade.get
获取会员卡等级列表
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
func (r AlibabaWestcrmGradeGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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
获取会员卡等级列表
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 获取等级列表 成功返回结果
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 结构体
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 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
func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetCampusId() int64
GetCampusId CampusId Getter
func (AlibabaWestcrmUserConsumerGetAPIRequest) GetIbUserId ¶ added in v1.2.0
func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetIbUserId() int64
GetIbUserId IbUserId Getter
func (AlibabaWestcrmUserConsumerGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaWestcrmUserConsumerGetAPIRequest) GetTimeBegin ¶ added in v1.2.0
func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetTimeBegin() string
GetTimeBegin TimeBegin Getter
func (AlibabaWestcrmUserConsumerGetAPIRequest) GetTimeEnd ¶ added in v1.2.0
func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetTimeEnd() string
GetTimeEnd TimeEnd Getter
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
获取指定用户的消费总额
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 获取指定用户的消费总额 成功返回结果
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 结构体
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 结构体
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 结构体
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 结构体
Source Files ¶
- AlibabaWestcrmCustomerInfoGetAPIRequest.go
- AlibabaWestcrmCustomerInfoGetAPIResponse.go
- AlibabaWestcrmGradeGetAPIRequest.go
- AlibabaWestcrmGradeGetAPIResponse.go
- AlibabaWestcrmGradeGetData.go
- AlibabaWestcrmUserConsumerGetAPIRequest.go
- AlibabaWestcrmUserConsumerGetAPIResponse.go
- CustomerBaseInfoVo.go
- DataResult.go
- OrderVo.go
- UserConsumerVo.go
- doc.go