Documentation ¶
Index ¶
- type AlibabaCharityCharitytimeQueryAPIResponse
- type AlibabaCharityCharitytimeQueryRequest
- func (r AlibabaCharityCharitytimeQueryRequest) GetActivityId() int64
- func (r AlibabaCharityCharitytimeQueryRequest) GetApiMethodName() string
- func (r AlibabaCharityCharitytimeQueryRequest) GetApiParams() url.Values
- func (r AlibabaCharityCharitytimeQueryRequest) GetCharityTypeList() []string
- func (r AlibabaCharityCharitytimeQueryRequest) GetEndDate() int64
- func (r AlibabaCharityCharitytimeQueryRequest) GetExtParam() string
- func (r AlibabaCharityCharitytimeQueryRequest) GetStartDate() int64
- func (r AlibabaCharityCharitytimeQueryRequest) GetTbUid() int64
- func (r *AlibabaCharityCharitytimeQueryRequest) SetActivityId(activityId int64) error
- func (r *AlibabaCharityCharitytimeQueryRequest) SetCharityTypeList(charityTypeList []string) error
- func (r *AlibabaCharityCharitytimeQueryRequest) SetEndDate(endDate int64) error
- func (r *AlibabaCharityCharitytimeQueryRequest) SetExtParam(extParam string) error
- func (r *AlibabaCharityCharitytimeQueryRequest) SetStartDate(startDate int64) error
- func (r *AlibabaCharityCharitytimeQueryRequest) SetTbUid(tbUid int64) error
- type AlibabaCharityCharitytimeQueryResponse
- type AlibabaCharityUseractionSyncAPIResponse
- type AlibabaCharityUseractionSyncRequest
- func (r AlibabaCharityUseractionSyncRequest) GetApiMethodName() string
- func (r AlibabaCharityUseractionSyncRequest) GetApiParams() url.Values
- func (r AlibabaCharityUseractionSyncRequest) GetChannelUserActionDto() *ChannelUserActionDto
- func (r *AlibabaCharityUseractionSyncRequest) SetChannelUserActionDto(channelUserActionDto *ChannelUserActionDto) error
- type AlibabaCharityUseractionSyncResponse
- type ChannelUserActionDto
- type ThreehoursResult
- type UserActionSyncResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaCharityCharitytimeQueryAPIResponse ¶
type AlibabaCharityCharitytimeQueryAPIResponse struct { model.CommonResponse AlibabaCharityCharitytimeQueryResponse }
查询公益3小时公益时汇总 API返回值 alibaba.charity.charitytime.query
查询公益3小时公益时汇总
type AlibabaCharityCharitytimeQueryRequest ¶
type AlibabaCharityCharitytimeQueryRequest struct { model.Params // contains filtered or unexported fields }
查询公益3小时公益时汇总 API请求 alibaba.charity.charitytime.query
查询公益3小时公益时汇总
func NewAlibabaCharityCharitytimeQueryRequest ¶
func NewAlibabaCharityCharitytimeQueryRequest() *AlibabaCharityCharitytimeQueryRequest
初始化AlibabaCharityCharitytimeQueryRequest对象
func (AlibabaCharityCharitytimeQueryRequest) GetActivityId ¶
func (r AlibabaCharityCharitytimeQueryRequest) GetActivityId() int64
ActivityId Getter
func (AlibabaCharityCharitytimeQueryRequest) GetApiMethodName ¶
func (r AlibabaCharityCharitytimeQueryRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlibabaCharityCharitytimeQueryRequest) GetApiParams ¶
func (r AlibabaCharityCharitytimeQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlibabaCharityCharitytimeQueryRequest) GetCharityTypeList ¶
func (r AlibabaCharityCharitytimeQueryRequest) GetCharityTypeList() []string
CharityTypeList Getter
func (AlibabaCharityCharitytimeQueryRequest) GetEndDate ¶
func (r AlibabaCharityCharitytimeQueryRequest) GetEndDate() int64
EndDate Getter
func (AlibabaCharityCharitytimeQueryRequest) GetExtParam ¶
func (r AlibabaCharityCharitytimeQueryRequest) GetExtParam() string
ExtParam Getter
func (AlibabaCharityCharitytimeQueryRequest) GetStartDate ¶
func (r AlibabaCharityCharitytimeQueryRequest) GetStartDate() int64
StartDate Getter
func (AlibabaCharityCharitytimeQueryRequest) GetTbUid ¶
func (r AlibabaCharityCharitytimeQueryRequest) GetTbUid() int64
TbUid Getter
func (*AlibabaCharityCharitytimeQueryRequest) SetActivityId ¶
func (r *AlibabaCharityCharitytimeQueryRequest) SetActivityId(activityId int64) error
ActivityId Setter 活动ID
func (*AlibabaCharityCharitytimeQueryRequest) SetCharityTypeList ¶
func (r *AlibabaCharityCharitytimeQueryRequest) SetCharityTypeList(charityTypeList []string) error
CharityTypeList Setter 公益类型
func (*AlibabaCharityCharitytimeQueryRequest) SetEndDate ¶
func (r *AlibabaCharityCharitytimeQueryRequest) SetEndDate(endDate int64) error
EndDate Setter 结束时间戳-毫秒时间
func (*AlibabaCharityCharitytimeQueryRequest) SetExtParam ¶
func (r *AlibabaCharityCharitytimeQueryRequest) SetExtParam(extParam string) error
ExtParam Setter 扩展参数
func (*AlibabaCharityCharitytimeQueryRequest) SetStartDate ¶
func (r *AlibabaCharityCharitytimeQueryRequest) SetStartDate(startDate int64) error
StartDate Setter 开始时间戳-毫秒时间
func (*AlibabaCharityCharitytimeQueryRequest) SetTbUid ¶
func (r *AlibabaCharityCharitytimeQueryRequest) SetTbUid(tbUid int64) error
TbUid Setter 淘宝Uid
type AlibabaCharityCharitytimeQueryResponse ¶
type AlibabaCharityCharitytimeQueryResponse struct { XMLName xml.Name `xml:"alibaba_charity_charitytime_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 Apicode int64 `json:"apicode,omitempty" xml:"apicode,omitempty"` // 数据 Data int64 `json:"data,omitempty" xml:"data,omitempty"` // 失败 Fail bool `json:"fail,omitempty" xml:"fail,omitempty"` // 消息 Apimsg string `json:"apimsg,omitempty" xml:"apimsg,omitempty"` // 成功 Apisuccess bool `json:"apisuccess,omitempty" xml:"apisuccess,omitempty"` }
查询公益3小时公益时汇总 成功返回结果
type AlibabaCharityUseractionSyncAPIResponse ¶
type AlibabaCharityUseractionSyncAPIResponse struct { model.CommonResponse AlibabaCharityUseractionSyncResponse }
用户公益行为同步 API返回值 alibaba.charity.useraction.sync
外部公益活动,用户公益行为同步
type AlibabaCharityUseractionSyncRequest ¶
type AlibabaCharityUseractionSyncRequest struct { model.Params // contains filtered or unexported fields }
用户公益行为同步 API请求 alibaba.charity.useraction.sync
外部公益活动,用户公益行为同步
func NewAlibabaCharityUseractionSyncRequest ¶
func NewAlibabaCharityUseractionSyncRequest() *AlibabaCharityUseractionSyncRequest
初始化AlibabaCharityUseractionSyncRequest对象
func (AlibabaCharityUseractionSyncRequest) GetApiMethodName ¶
func (r AlibabaCharityUseractionSyncRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlibabaCharityUseractionSyncRequest) GetApiParams ¶
func (r AlibabaCharityUseractionSyncRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlibabaCharityUseractionSyncRequest) GetChannelUserActionDto ¶
func (r AlibabaCharityUseractionSyncRequest) GetChannelUserActionDto() *ChannelUserActionDto
ChannelUserActionDto Getter
func (*AlibabaCharityUseractionSyncRequest) SetChannelUserActionDto ¶
func (r *AlibabaCharityUseractionSyncRequest) SetChannelUserActionDto(channelUserActionDto *ChannelUserActionDto) error
ChannelUserActionDto Setter 用户公益行为
type AlibabaCharityUseractionSyncResponse ¶
type AlibabaCharityUseractionSyncResponse struct { XMLName xml.Name `xml:"alibaba_charity_useraction_sync_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *ThreehoursResult `json:"result,omitempty" xml:"result,omitempty"` }
用户公益行为同步 成功返回结果
type ChannelUserActionDto ¶
type ChannelUserActionDto struct { // 活动ID ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 唯一的动作ID,渠道范围内唯一,幂等控制 EventId string `json:"event_id,omitempty" xml:"event_id,omitempty"` // 淘宝ID TbUserId int64 `json:"tb_user_id,omitempty" xml:"tb_user_id,omitempty"` // 做公益当时的时间戳 TimestampLong int64 `json:"timestamp_long,omitempty" xml:"timestamp_long,omitempty"` // 公益类型子代码 CharityTypeSubCode string `json:"charity_type_sub_code,omitempty" xml:"charity_type_sub_code,omitempty"` // 是否强制报名活动,默认false ForeRegActivity bool `json:"fore_reg_activity,omitempty" xml:"fore_reg_activity,omitempty"` // 扩展属性 FeaturesMap string `json:"features_map,omitempty" xml:"features_map,omitempty"` // 公益感言 Feeling string `json:"feeling,omitempty" xml:"feeling,omitempty"` // 做公益当时的时间 CharityTimestamp string `json:"charity_timestamp,omitempty" xml:"charity_timestamp,omitempty"` // 原生公益行为内容,JSON OriContent string `json:"ori_content,omitempty" xml:"ori_content,omitempty"` }
ChannelUserActionDto
type ThreehoursResult ¶
type ThreehoursResult struct { // 消息 Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // 错误码 Code int64 `json:"code,omitempty" xml:"code,omitempty"` // 结果 Data *UserActionSyncResult `json:"data,omitempty" xml:"data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ThreehoursResult
type UserActionSyncResult ¶
type UserActionSyncResult struct { // 唯一的事件ID EventId string `json:"event_id,omitempty" xml:"event_id,omitempty"` // 本次同步获得的公益时 CharityHours string `json:"charity_hours,omitempty" xml:"charity_hours,omitempty"` }
UserActionSyncResult