Documentation ¶
Overview ¶
Package blackvip 包含会员卡相关结构体
Index ¶
- func ReleaseModels(v *Models)
- func ReleaseResultSupport(v *ResultSupport)
- func ReleaseTaobaoBlackvipUserinfoGetAPIRequest(v *TaobaoBlackvipUserinfoGetAPIRequest)
- func ReleaseTaobaoBlackvipUserinfoGetAPIResponse(v *TaobaoBlackvipUserinfoGetAPIResponse)
- type Models
- type ResultSupport
- type TaobaoBlackvipUserinfoGetAPIRequest
- type TaobaoBlackvipUserinfoGetAPIResponse
- type TaobaoBlackvipUserinfoGetAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseResultSupport ¶ added in v1.3.4
func ReleaseResultSupport(v *ResultSupport)
ReleaseResultSupport 释放ResultSupport
func ReleaseTaobaoBlackvipUserinfoGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoBlackvipUserinfoGetAPIRequest(v *TaobaoBlackvipUserinfoGetAPIRequest)
ReleaseTaobaoBlackvipUserinfoGetAPIRequest 将 TaobaoBlackvipUserinfoGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoBlackvipUserinfoGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoBlackvipUserinfoGetAPIResponse(v *TaobaoBlackvipUserinfoGetAPIResponse)
ReleaseTaobaoBlackvipUserinfoGetAPIResponse 将 TaobaoBlackvipUserinfoGetAPIResponse 保存到 sync.Pool
Types ¶
type Models ¶
type Models struct { // 88VIP到期时间 VipExpireTime int64 `json:"vip_expire_time,omitempty" xml:"vip_expire_time,omitempty"` // 是否88VIP自动续费用户 Is88VipAutoRenewUser bool `json:"is88_vip_auto_renew_user,omitempty" xml:"is88_vip_auto_renew_user,omitempty"` // 是否88VIP Is88Vip bool `json:"is88_vip,omitempty" xml:"is88_vip,omitempty"` // 是否88VIP潜在用户 Is88VipTargetUser bool `json:"is88_vip_target_user,omitempty" xml:"is88_vip_target_user,omitempty"` }
Models 结构体
type ResultSupport ¶
type ResultSupport struct { // 错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 用户数据 Models *Models `json:"models,omitempty" xml:"models,omitempty"` // 结果是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ResultSupport 结构体
func GetResultSupport ¶ added in v1.3.4
func GetResultSupport() *ResultSupport
GetResultSupport() 从对象池中获取ResultSupport
type TaobaoBlackvipUserinfoGetAPIRequest ¶ added in v1.2.0
TaobaoBlackvipUserinfoGetAPIRequest 88VIP用户信息查询 API请求 taobao.blackvip.userinfo.get
查询88VIP用户信息,比如用户是否是88VIP,88VIP的失效时间等
func GetTaobaoBlackvipUserinfoGetAPIRequest ¶ added in v1.3.4
func GetTaobaoBlackvipUserinfoGetAPIRequest() *TaobaoBlackvipUserinfoGetAPIRequest
GetTaobaoBlackvipUserinfoGetRequest 从 sync.Pool 获取 TaobaoBlackvipUserinfoGetAPIRequest
func NewTaobaoBlackvipUserinfoGetRequest ¶
func NewTaobaoBlackvipUserinfoGetRequest() *TaobaoBlackvipUserinfoGetAPIRequest
NewTaobaoBlackvipUserinfoGetRequest 初始化TaobaoBlackvipUserinfoGetAPIRequest对象
func (TaobaoBlackvipUserinfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoBlackvipUserinfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoBlackvipUserinfoGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoBlackvipUserinfoGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoBlackvipUserinfoGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoBlackvipUserinfoGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoBlackvipUserinfoGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoBlackvipUserinfoGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
type TaobaoBlackvipUserinfoGetAPIResponse ¶
type TaobaoBlackvipUserinfoGetAPIResponse struct { model.CommonResponse TaobaoBlackvipUserinfoGetAPIResponseModel }
TaobaoBlackvipUserinfoGetAPIResponse 88VIP用户信息查询 API返回值 taobao.blackvip.userinfo.get
查询88VIP用户信息,比如用户是否是88VIP,88VIP的失效时间等
func GetTaobaoBlackvipUserinfoGetAPIResponse ¶ added in v1.3.4
func GetTaobaoBlackvipUserinfoGetAPIResponse() *TaobaoBlackvipUserinfoGetAPIResponse
GetTaobaoBlackvipUserinfoGetAPIResponse 从 sync.Pool 获取 TaobaoBlackvipUserinfoGetAPIResponse
func (*TaobaoBlackvipUserinfoGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoBlackvipUserinfoGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoBlackvipUserinfoGetAPIResponseModel ¶ added in v1.2.0
type TaobaoBlackvipUserinfoGetAPIResponseModel struct { XMLName xml.Name `xml:"blackvip_userinfo_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果支持对象 Result *ResultSupport `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoBlackvipUserinfoGetAPIResponseModel is 88VIP用户信息查询 成功返回结果
func (*TaobaoBlackvipUserinfoGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoBlackvipUserinfoGetAPIResponseModel) Reset()
Reset 清空结构体