Documentation ¶
Overview ¶
Package choujiang 包含淘宝抽奖平台API相关结构体
Index ¶
- func ReleaseTaobaoDeActivitySecuritytokenApplyAPIRequest(v *TaobaoDeActivitySecuritytokenApplyAPIRequest)
- func ReleaseTaobaoDeActivitySecuritytokenApplyAPIResponse(v *TaobaoDeActivitySecuritytokenApplyAPIResponse)
- type TaobaoDeActivitySecuritytokenApplyAPIRequest
- func (r TaobaoDeActivitySecuritytokenApplyAPIRequest) GetApiMethodName() string
- func (r TaobaoDeActivitySecuritytokenApplyAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoDeActivitySecuritytokenApplyAPIRequest) GetEventKey() string
- func (r TaobaoDeActivitySecuritytokenApplyAPIRequest) GetRawParams() model.Params
- func (r *TaobaoDeActivitySecuritytokenApplyAPIRequest) Reset()
- func (r *TaobaoDeActivitySecuritytokenApplyAPIRequest) SetEventKey(_eventKey string) error
- type TaobaoDeActivitySecuritytokenApplyAPIResponse
- type TaobaoDeActivitySecuritytokenApplyAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseTaobaoDeActivitySecuritytokenApplyAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoDeActivitySecuritytokenApplyAPIRequest(v *TaobaoDeActivitySecuritytokenApplyAPIRequest)
ReleaseTaobaoDeActivitySecuritytokenApplyAPIRequest 将 TaobaoDeActivitySecuritytokenApplyAPIRequest 放入 sync.Pool
func ReleaseTaobaoDeActivitySecuritytokenApplyAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoDeActivitySecuritytokenApplyAPIResponse(v *TaobaoDeActivitySecuritytokenApplyAPIResponse)
ReleaseTaobaoDeActivitySecuritytokenApplyAPIResponse 将 TaobaoDeActivitySecuritytokenApplyAPIResponse 保存到 sync.Pool
Types ¶
type TaobaoDeActivitySecuritytokenApplyAPIRequest ¶ added in v1.2.0
type TaobaoDeActivitySecuritytokenApplyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoDeActivitySecuritytokenApplyAPIRequest 安全token获取 API请求 taobao.de.activity.securitytoken.apply
新增接口,这个接口是用于在手机端进行抽奖时候的验证使用
func GetTaobaoDeActivitySecuritytokenApplyAPIRequest ¶ added in v1.3.4
func GetTaobaoDeActivitySecuritytokenApplyAPIRequest() *TaobaoDeActivitySecuritytokenApplyAPIRequest
GetTaobaoDeActivitySecuritytokenApplyRequest 从 sync.Pool 获取 TaobaoDeActivitySecuritytokenApplyAPIRequest
func NewTaobaoDeActivitySecuritytokenApplyRequest ¶
func NewTaobaoDeActivitySecuritytokenApplyRequest() *TaobaoDeActivitySecuritytokenApplyAPIRequest
NewTaobaoDeActivitySecuritytokenApplyRequest 初始化TaobaoDeActivitySecuritytokenApplyAPIRequest对象
func (TaobaoDeActivitySecuritytokenApplyAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoDeActivitySecuritytokenApplyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoDeActivitySecuritytokenApplyAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoDeActivitySecuritytokenApplyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoDeActivitySecuritytokenApplyAPIRequest) GetEventKey ¶ added in v1.2.0
func (r TaobaoDeActivitySecuritytokenApplyAPIRequest) GetEventKey() string
GetEventKey EventKey Getter
func (TaobaoDeActivitySecuritytokenApplyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoDeActivitySecuritytokenApplyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoDeActivitySecuritytokenApplyAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoDeActivitySecuritytokenApplyAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoDeActivitySecuritytokenApplyAPIRequest) SetEventKey ¶ added in v1.2.0
func (r *TaobaoDeActivitySecuritytokenApplyAPIRequest) SetEventKey(_eventKey string) error
SetEventKey is EventKey Setter 运营和cp约定的事件唯一标示
type TaobaoDeActivitySecuritytokenApplyAPIResponse ¶
type TaobaoDeActivitySecuritytokenApplyAPIResponse struct { model.CommonResponse TaobaoDeActivitySecuritytokenApplyAPIResponseModel }
TaobaoDeActivitySecuritytokenApplyAPIResponse 安全token获取 API返回值 taobao.de.activity.securitytoken.apply
新增接口,这个接口是用于在手机端进行抽奖时候的验证使用
func GetTaobaoDeActivitySecuritytokenApplyAPIResponse ¶ added in v1.3.4
func GetTaobaoDeActivitySecuritytokenApplyAPIResponse() *TaobaoDeActivitySecuritytokenApplyAPIResponse
GetTaobaoDeActivitySecuritytokenApplyAPIResponse 从 sync.Pool 获取 TaobaoDeActivitySecuritytokenApplyAPIResponse
func (*TaobaoDeActivitySecuritytokenApplyAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoDeActivitySecuritytokenApplyAPIResponse) Reset()
Reset 清空结构体
type TaobaoDeActivitySecuritytokenApplyAPIResponseModel ¶ added in v1.2.0
type TaobaoDeActivitySecuritytokenApplyAPIResponseModel struct { XMLName xml.Name `xml:"de_activity_securitytoken_apply_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 成功标志位 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoDeActivitySecuritytokenApplyAPIResponseModel is 安全token获取 成功返回结果
func (*TaobaoDeActivitySecuritytokenApplyAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoDeActivitySecuritytokenApplyAPIResponseModel) Reset()
Reset 清空结构体