Documentation
¶
Overview ¶
互动吧API model
Index ¶
- type CashPoolVo
- type CreateCashPoolParamDo
- type FansResult
- type PushMessageParamDo
- type TmallFansArenaPushAPIRequest
- type TmallFansArenaPushAPIResponse
- type TmallFansArenaPushAPIResponseModel
- type TmallFansArenaRecordAPIRequest
- func (r TmallFansArenaRecordAPIRequest) GetApiMethodName() string
- func (r TmallFansArenaRecordAPIRequest) GetApiParams() url.Values
- func (r TmallFansArenaRecordAPIRequest) GetCashPoolId() int64
- func (r TmallFansArenaRecordAPIRequest) GetMixNick() string
- func (r TmallFansArenaRecordAPIRequest) GetScore() int64
- func (r *TmallFansArenaRecordAPIRequest) SetCashPoolId(_cashPoolId int64) error
- func (r *TmallFansArenaRecordAPIRequest) SetMixNick(_mixNick string) error
- func (r *TmallFansArenaRecordAPIRequest) SetScore(_score int64) error
- type TmallFansArenaRecordAPIResponse
- type TmallFansArenaRecordAPIResponseModel
- type TmallFansCashpoolCheckpayAPIRequest
- func (r TmallFansCashpoolCheckpayAPIRequest) GetApiMethodName() string
- func (r TmallFansCashpoolCheckpayAPIRequest) GetApiParams() url.Values
- func (r TmallFansCashpoolCheckpayAPIRequest) GetCashPoolList() []int64
- func (r *TmallFansCashpoolCheckpayAPIRequest) SetCashPoolList(_cashPoolList []int64) error
- type TmallFansCashpoolCheckpayAPIResponse
- type TmallFansCashpoolCheckpayAPIResponseModel
- type TmallFansCashpoolCreateAPIRequest
- func (r TmallFansCashpoolCreateAPIRequest) GetApiMethodName() string
- func (r TmallFansCashpoolCreateAPIRequest) GetApiParams() url.Values
- func (r TmallFansCashpoolCreateAPIRequest) GetCreateCashPoolParamDo() *CreateCashPoolParamDo
- func (r *TmallFansCashpoolCreateAPIRequest) SetCreateCashPoolParamDo(_createCashPoolParamDo *CreateCashPoolParamDo) error
- type TmallFansCashpoolCreateAPIResponse
- type TmallFansCashpoolCreateAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CashPoolVo ¶
type CashPoolVo struct { // 付款url PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"` // 奖金池id CashPoolId int64 `json:"cash_pool_id,omitempty" xml:"cash_pool_id,omitempty"` }
CashPoolVo
type CreateCashPoolParamDo ¶
type CreateCashPoolParamDo struct { // 红包使用开始时间 UseEndTime string `json:"use_end_time,omitempty" xml:"use_end_time,omitempty"` // 红包使用结束时间 UseStartTime string `json:"use_start_time,omitempty" xml:"use_start_time,omitempty"` // 奖金池总额度 CashValue int64 `json:"cash_value,omitempty" xml:"cash_value,omitempty"` // 奖金池标题 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 奖金池描述 Title string `json:"title,omitempty" xml:"title,omitempty"` // 活动id ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 活动url ActivityUrl string `json:"activity_url,omitempty" xml:"activity_url,omitempty"` // 开奖时间 DrawTime string `json:"draw_time,omitempty" xml:"draw_time,omitempty"` // 活动开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 活动结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 开始答题时间 BeginQaTime string `json:"begin_qa_time,omitempty" xml:"begin_qa_time,omitempty"` }
CreateCashPoolParamDo
type FansResult ¶
type FansResult struct { // 推送成功列表 DataList []bool `json:"data_list,omitempty" xml:"data_list>bool,omitempty"` // 无意义 TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"` // 调用成功失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 失败message ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 失败错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 返回data Data *CashPoolVo `json:"data,omitempty" xml:"data,omitempty"` }
FansResult
type PushMessageParamDo ¶
type PushMessageParamDo struct { // 活动id ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 品牌名 BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"` // 消息类型 MessageType string `json:"message_type,omitempty" xml:"message_type,omitempty"` // mixnick MixNick string `json:"mix_nick,omitempty" xml:"mix_nick,omitempty"` }
PushMessageParamDo
type TmallFansArenaPushAPIRequest ¶ added in v1.2.0
消息推送 API请求 tmall.fans.arena.push
超级擂台消息推送
func NewTmallFansArenaPushRequest ¶
func NewTmallFansArenaPushRequest() *TmallFansArenaPushAPIRequest
初始化TmallFansArenaPushAPIRequest对象
func (TmallFansArenaPushAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallFansArenaPushAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TmallFansArenaPushAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallFansArenaPushAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TmallFansArenaPushAPIRequest) GetPushList ¶ added in v1.2.0
func (r TmallFansArenaPushAPIRequest) GetPushList() []PushMessageParamDo
PushList Getter
func (*TmallFansArenaPushAPIRequest) SetPushList ¶ added in v1.2.0
func (r *TmallFansArenaPushAPIRequest) SetPushList(_pushList []PushMessageParamDo) error
PushList Setter 推送列表
type TmallFansArenaPushAPIResponse ¶
type TmallFansArenaPushAPIResponse struct { model.CommonResponse TmallFansArenaPushAPIResponseModel }
消息推送 API返回值 tmall.fans.arena.push
超级擂台消息推送
type TmallFansArenaPushAPIResponseModel ¶ added in v1.2.0
type TmallFansArenaPushAPIResponseModel struct { XMLName xml.Name `xml:"tmall_fans_arena_push_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回对象 Result *FansResult `json:"result,omitempty" xml:"result,omitempty"` }
消息推送 成功返回结果
type TmallFansArenaRecordAPIRequest ¶ added in v1.2.0
type TmallFansArenaRecordAPIRequest struct { model.Params // contains filtered or unexported fields }
记录完成擂台的用户 API请求 tmall.fans.arena.record
记录完成擂台的用户和完成分数
func NewTmallFansArenaRecordRequest ¶
func NewTmallFansArenaRecordRequest() *TmallFansArenaRecordAPIRequest
初始化TmallFansArenaRecordAPIRequest对象
func (TmallFansArenaRecordAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallFansArenaRecordAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TmallFansArenaRecordAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallFansArenaRecordAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TmallFansArenaRecordAPIRequest) GetCashPoolId ¶ added in v1.2.0
func (r TmallFansArenaRecordAPIRequest) GetCashPoolId() int64
CashPoolId Getter
func (TmallFansArenaRecordAPIRequest) GetMixNick ¶ added in v1.2.0
func (r TmallFansArenaRecordAPIRequest) GetMixNick() string
MixNick Getter
func (TmallFansArenaRecordAPIRequest) GetScore ¶ added in v1.2.0
func (r TmallFansArenaRecordAPIRequest) GetScore() int64
Score Getter
func (*TmallFansArenaRecordAPIRequest) SetCashPoolId ¶ added in v1.2.0
func (r *TmallFansArenaRecordAPIRequest) SetCashPoolId(_cashPoolId int64) error
CashPoolId Setter 资金池id
func (*TmallFansArenaRecordAPIRequest) SetMixNick ¶ added in v1.2.0
func (r *TmallFansArenaRecordAPIRequest) SetMixNick(_mixNick string) error
MixNick Setter mixnick
func (*TmallFansArenaRecordAPIRequest) SetScore ¶ added in v1.2.0
func (r *TmallFansArenaRecordAPIRequest) SetScore(_score int64) error
Score Setter 用户得分
type TmallFansArenaRecordAPIResponse ¶
type TmallFansArenaRecordAPIResponse struct { model.CommonResponse TmallFansArenaRecordAPIResponseModel }
记录完成擂台的用户 API返回值 tmall.fans.arena.record
记录完成擂台的用户和完成分数
type TmallFansArenaRecordAPIResponseModel ¶ added in v1.2.0
type TmallFansArenaRecordAPIResponseModel struct { XMLName xml.Name `xml:"tmall_fans_arena_record_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回对象 FansResult *FansResult `json:"fans_result,omitempty" xml:"fans_result,omitempty"` }
记录完成擂台的用户 成功返回结果
type TmallFansCashpoolCheckpayAPIRequest ¶ added in v1.2.0
type TmallFansCashpoolCheckpayAPIRequest struct { model.Params // contains filtered or unexported fields }
检查资金池付款状态 API请求 tmall.fans.cashpool.checkpay
检查资金池付款状态
func NewTmallFansCashpoolCheckpayRequest ¶
func NewTmallFansCashpoolCheckpayRequest() *TmallFansCashpoolCheckpayAPIRequest
初始化TmallFansCashpoolCheckpayAPIRequest对象
func (TmallFansCashpoolCheckpayAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallFansCashpoolCheckpayAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TmallFansCashpoolCheckpayAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallFansCashpoolCheckpayAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TmallFansCashpoolCheckpayAPIRequest) GetCashPoolList ¶ added in v1.2.0
func (r TmallFansCashpoolCheckpayAPIRequest) GetCashPoolList() []int64
CashPoolList Getter
func (*TmallFansCashpoolCheckpayAPIRequest) SetCashPoolList ¶ added in v1.2.0
func (r *TmallFansCashpoolCheckpayAPIRequest) SetCashPoolList(_cashPoolList []int64) error
CashPoolList Setter 资金池列表
type TmallFansCashpoolCheckpayAPIResponse ¶
type TmallFansCashpoolCheckpayAPIResponse struct { model.CommonResponse TmallFansCashpoolCheckpayAPIResponseModel }
检查资金池付款状态 API返回值 tmall.fans.cashpool.checkpay
检查资金池付款状态
type TmallFansCashpoolCheckpayAPIResponseModel ¶ added in v1.2.0
type TmallFansCashpoolCheckpayAPIResponseModel struct { XMLName xml.Name `xml:"tmall_fans_cashpool_checkpay_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 FansResult *FansResult `json:"fans_result,omitempty" xml:"fans_result,omitempty"` }
检查资金池付款状态 成功返回结果
type TmallFansCashpoolCreateAPIRequest ¶ added in v1.2.0
type TmallFansCashpoolCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
创建资金池 API请求 tmall.fans.cashpool.create
商家创建资金池接口
func NewTmallFansCashpoolCreateRequest ¶
func NewTmallFansCashpoolCreateRequest() *TmallFansCashpoolCreateAPIRequest
初始化TmallFansCashpoolCreateAPIRequest对象
func (TmallFansCashpoolCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallFansCashpoolCreateAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TmallFansCashpoolCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallFansCashpoolCreateAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TmallFansCashpoolCreateAPIRequest) GetCreateCashPoolParamDo ¶ added in v1.2.0
func (r TmallFansCashpoolCreateAPIRequest) GetCreateCashPoolParamDo() *CreateCashPoolParamDo
CreateCashPoolParamDo Getter
func (*TmallFansCashpoolCreateAPIRequest) SetCreateCashPoolParamDo ¶ added in v1.2.0
func (r *TmallFansCashpoolCreateAPIRequest) SetCreateCashPoolParamDo(_createCashPoolParamDo *CreateCashPoolParamDo) error
CreateCashPoolParamDo Setter 创建资奖池输入对象
type TmallFansCashpoolCreateAPIResponse ¶
type TmallFansCashpoolCreateAPIResponse struct { model.CommonResponse TmallFansCashpoolCreateAPIResponseModel }
创建资金池 API返回值 tmall.fans.cashpool.create
商家创建资金池接口
type TmallFansCashpoolCreateAPIResponseModel ¶ added in v1.2.0
type TmallFansCashpoolCreateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_fans_cashpool_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回对象 FansResult *FansResult `json:"fans_result,omitempty" xml:"fans_result,omitempty"` }
创建资金池 成功返回结果
Source Files
¶
- CashPoolVo.go
- CreateCashPoolParamDo.go
- FansResult.go
- PushMessageParamDo.go
- TmallFansArenaPushAPIRequest.go
- TmallFansArenaPushAPIResponse.go
- TmallFansArenaRecordAPIRequest.go
- TmallFansArenaRecordAPIResponse.go
- TmallFansCashpoolCheckpayAPIRequest.go
- TmallFansCashpoolCheckpayAPIResponse.go
- TmallFansCashpoolCreateAPIRequest.go
- TmallFansCashpoolCreateAPIResponse.go
- doc.go