Documentation ¶
Overview ¶
Package choujiang 包含淘宝抽奖平台API相关结构体
Index ¶
- 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) SetEventKey(_eventKey string) error
- type TaobaoDeActivitySecuritytokenApplyAPIResponse
- type TaobaoDeActivitySecuritytokenApplyAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 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) 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
新增接口,这个接口是用于在手机端进行抽奖时候的验证使用
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获取 成功返回结果