ju

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package ju 包含聚划算API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=65912

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabajhscommunityactivitydetailsAPIRequest added in v1.3.1

type AlibabajhscommunityactivitydetailsAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabajhscommunityactivitydetailsAPIRequest 社群活动详情 API请求 alibaba.jhs.community.activity.details

社群活动详情

func NewAlibabajhscommunityactivitydetailsRequest added in v1.3.1

func NewAlibabajhscommunityactivitydetailsRequest() *AlibabajhscommunityactivitydetailsAPIRequest

NewAlibabajhscommunityactivitydetailsRequest 初始化AlibabajhscommunityactivitydetailsAPIRequest对象

func (AlibabajhscommunityactivitydetailsAPIRequest) GetActivityId added in v1.3.1

GetActivityId ActivityId Getter

func (AlibabajhscommunityactivitydetailsAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabajhscommunityactivitydetailsAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabajhscommunityactivitydetailsAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabajhscommunityactivitydetailsAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*AlibabajhscommunityactivitydetailsAPIRequest) SetActivityId added in v1.3.1

func (r *AlibabajhscommunityactivitydetailsAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 社群活动id

func (*AlibabajhscommunityactivitydetailsAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter 用户会话登录token

type AlibabajhscommunityactivitydetailsAPIResponse added in v1.3.1

type AlibabajhscommunityactivitydetailsAPIResponse struct {
	model.CommonResponse
	AlibabajhscommunityactivitydetailsAPIResponseModel
}

AlibabajhscommunityactivitydetailsAPIResponse 社群活动详情 API返回值 alibaba.jhs.community.activity.details

社群活动详情

type AlibabajhscommunityactivitydetailsAPIResponseModel added in v1.3.1

type AlibabajhscommunityactivitydetailsAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_jhs_community_activity_details_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	Error string `json:"error,omitempty" xml:"error,omitempty"`
	// 数据对象
	Data *AlibabajhscommunityactivitydetailsData `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabajhscommunityactivitydetailsAPIResponseModel is 社群活动详情 成功返回结果

type AlibabajhscommunityactivitydetailsData added in v1.3.1

type AlibabajhscommunityactivitydetailsData struct {
	// 开幕时间
	OpeningTime string `json:"opening_time,omitempty" xml:"opening_time,omitempty"`
	// 淘口令
	TaoToken string `json:"tao_token,omitempty" xml:"tao_token,omitempty"`
	// 是否已预约
	Reservation string `json:"reservation,omitempty" xml:"reservation,omitempty"`
	// 活动id
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 活动标题
	ActivityTitle string `json:"activity_title,omitempty" xml:"activity_title,omitempty"`
	// 活动内容
	ActivityContent string `json:"activity_content,omitempty" xml:"activity_content,omitempty"`
	// 活动回流地址
	ActivityBackUrl string `json:"activity_back_url,omitempty" xml:"activity_back_url,omitempty"`
	// 渠道外传播标题
	SpreadTitle string `json:"spread_title,omitempty" xml:"spread_title,omitempty"`
	// 对外传播图片
	SpreadPicUrl string `json:"spread_pic_url,omitempty" xml:"spread_pic_url,omitempty"`
	// 活动状态
	ActivityStatus string `json:"activity_status,omitempty" xml:"activity_status,omitempty"`
	// 活动类型
	ActivityType int64 `json:"activity_type,omitempty" xml:"activity_type,omitempty"`
}

AlibabajhscommunityactivitydetailsData 结构体

type AlibabajhscommunityactivitylistAPIRequest added in v1.3.1

type AlibabajhscommunityactivitylistAPIRequest struct {
	model.Params
}

AlibabajhscommunityactivitylistAPIRequest 聚划算用增淘外社群服务活动列表 API请求 alibaba.jhs.community.activity.list

聚划算用增淘外社群服务活动列表

func NewAlibabajhscommunityactivitylistRequest added in v1.3.1

func NewAlibabajhscommunityactivitylistRequest() *AlibabajhscommunityactivitylistAPIRequest

NewAlibabajhscommunityactivitylistRequest 初始化AlibabajhscommunityactivitylistAPIRequest对象

func (AlibabajhscommunityactivitylistAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabajhscommunityactivitylistAPIRequest) GetApiParams added in v1.3.1

func (r AlibabajhscommunityactivitylistAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabajhscommunityactivitylistAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

type AlibabajhscommunityactivitylistAPIResponse added in v1.3.1

type AlibabajhscommunityactivitylistAPIResponse struct {
	model.CommonResponse
	AlibabajhscommunityactivitylistAPIResponseModel
}

AlibabajhscommunityactivitylistAPIResponse 聚划算用增淘外社群服务活动列表 API返回值 alibaba.jhs.community.activity.list

聚划算用增淘外社群服务活动列表

type AlibabajhscommunityactivitylistAPIResponseModel added in v1.3.1

type AlibabajhscommunityactivitylistAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_jhs_community_activity_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Data []CommunityActivityDto `json:"data,omitempty" xml:"data>community_activity_dto,omitempty"`
	// 错误信息
	Error string `json:"error,omitempty" xml:"error,omitempty"`
}

AlibabajhscommunityactivitylistAPIResponseModel is 聚划算用增淘外社群服务活动列表 成功返回结果

type AlibabajhscommunityactivityreservationAPIRequest added in v1.3.1

type AlibabajhscommunityactivityreservationAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabajhscommunityactivityreservationAPIRequest 社群活动预约 API请求 alibaba.jhs.community.activity.reservation

社群活动预约

func NewAlibabajhscommunityactivityreservationRequest added in v1.3.1

func NewAlibabajhscommunityactivityreservationRequest() *AlibabajhscommunityactivityreservationAPIRequest

NewAlibabajhscommunityactivityreservationRequest 初始化AlibabajhscommunityactivityreservationAPIRequest对象

func (AlibabajhscommunityactivityreservationAPIRequest) GetActivityId added in v1.3.1

GetActivityId ActivityId Getter

func (AlibabajhscommunityactivityreservationAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabajhscommunityactivityreservationAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabajhscommunityactivityreservationAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabajhscommunityactivityreservationAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*AlibabajhscommunityactivityreservationAPIRequest) SetActivityId added in v1.3.1

func (r *AlibabajhscommunityactivityreservationAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 活动id

func (*AlibabajhscommunityactivityreservationAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter 会话token

type AlibabajhscommunityactivityreservationAPIResponse added in v1.3.1

type AlibabajhscommunityactivityreservationAPIResponse struct {
	model.CommonResponse
	AlibabajhscommunityactivityreservationAPIResponseModel
}

AlibabajhscommunityactivityreservationAPIResponse 社群活动预约 API返回值 alibaba.jhs.community.activity.reservation

社群活动预约

type AlibabajhscommunityactivityreservationAPIResponseModel added in v1.3.1

type AlibabajhscommunityactivityreservationAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_jhs_community_activity_reservation_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	Error string `json:"error,omitempty" xml:"error,omitempty"`
	// 是否预约成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabajhscommunityactivityreservationAPIResponseModel is 社群活动预约 成功返回结果

type AlibabajhscommunityidentitystoreAPIRequest added in v1.3.1

type AlibabajhscommunityidentitystoreAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabajhscommunityidentitystoreAPIRequest 用户信息存储 API请求 alibaba.jhs.community.identity.store

用户信息存储

func NewAlibabajhscommunityidentitystoreRequest added in v1.3.1

func NewAlibabajhscommunityidentitystoreRequest() *AlibabajhscommunityidentitystoreAPIRequest

NewAlibabajhscommunityidentitystoreRequest 初始化AlibabajhscommunityidentitystoreAPIRequest对象

func (AlibabajhscommunityidentitystoreAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabajhscommunityidentitystoreAPIRequest) GetApiParams added in v1.3.1

func (r AlibabajhscommunityidentitystoreAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabajhscommunityidentitystoreAPIRequest) GetAvatarUrl added in v1.3.1

GetAvatarUrl AvatarUrl Getter

func (AlibabajhscommunityidentitystoreAPIRequest) GetNickName added in v1.3.1

GetNickName NickName Getter

func (AlibabajhscommunityidentitystoreAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabajhscommunityidentitystoreAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*AlibabajhscommunityidentitystoreAPIRequest) SetAvatarUrl added in v1.3.1

func (r *AlibabajhscommunityidentitystoreAPIRequest) SetAvatarUrl(_avatarUrl string) error

SetAvatarUrl is AvatarUrl Setter 用户头像

func (*AlibabajhscommunityidentitystoreAPIRequest) SetNickName added in v1.3.1

func (r *AlibabajhscommunityidentitystoreAPIRequest) SetNickName(_nickName string) error

SetNickName is NickName Setter 用户昵称

func (*AlibabajhscommunityidentitystoreAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter 会话token

type AlibabajhscommunityidentitystoreAPIResponse added in v1.3.1

type AlibabajhscommunityidentitystoreAPIResponse struct {
	model.CommonResponse
	AlibabajhscommunityidentitystoreAPIResponseModel
}

AlibabajhscommunityidentitystoreAPIResponse 用户信息存储 API返回值 alibaba.jhs.community.identity.store

用户信息存储

type AlibabajhscommunityidentitystoreAPIResponseModel added in v1.3.1

type AlibabajhscommunityidentitystoreAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_jhs_community_identity_store_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	Error string `json:"error,omitempty" xml:"error,omitempty"`
	// 操作是否成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabajhscommunityidentitystoreAPIResponseModel is 用户信息存储 成功返回结果

type AlibabajhscommunitysubmittingtextAPIRequest added in v1.3.1

type AlibabajhscommunitysubmittingtextAPIRequest struct {
	model.Params
}

AlibabajhscommunitysubmittingtextAPIRequest 聚划算社群动态文案下发接口 API请求 alibaba.jhs.community.submitting.text

聚划算社群动态文案下发接口

func NewAlibabajhscommunitysubmittingtextRequest added in v1.3.1

func NewAlibabajhscommunitysubmittingtextRequest() *AlibabajhscommunitysubmittingtextAPIRequest

NewAlibabajhscommunitysubmittingtextRequest 初始化AlibabajhscommunitysubmittingtextAPIRequest对象

func (AlibabajhscommunitysubmittingtextAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabajhscommunitysubmittingtextAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabajhscommunitysubmittingtextAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

type AlibabajhscommunitysubmittingtextAPIResponse added in v1.3.1

type AlibabajhscommunitysubmittingtextAPIResponse struct {
	model.CommonResponse
	AlibabajhscommunitysubmittingtextAPIResponseModel
}

AlibabajhscommunitysubmittingtextAPIResponse 聚划算社群动态文案下发接口 API返回值 alibaba.jhs.community.submitting.text

聚划算社群动态文案下发接口

type AlibabajhscommunitysubmittingtextAPIResponseModel added in v1.3.1

type AlibabajhscommunitysubmittingtextAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_jhs_community_submitting_text_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// error
	Error string `json:"error,omitempty" xml:"error,omitempty"`
	// 数据结果
	Data *AlibabajhscommunitysubmittingtextData `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabajhscommunitysubmittingtextAPIResponseModel is 聚划算社群动态文案下发接口 成功返回结果

type AlibabajhscommunitysubmittingtextData added in v1.3.1

type AlibabajhscommunitysubmittingtextData struct {
	// 微信直播二维码
	WechatLiveQR string `json:"wechat_live_q_r,omitempty" xml:"wechat_live_q_r,omitempty"`
	// 去微信直播
	ToWechatLive string `json:"to_wechat_live,omitempty" xml:"to_wechat_live,omitempty"`
	// 微信直播链接
	WechatLiveLink string `json:"wechat_live_link,omitempty" xml:"wechat_live_link,omitempty"`
	// 微信直播背景
	WechatLiveBackground string `json:"wechat_live_background,omitempty" xml:"wechat_live_background,omitempty"`
	// 去微信直播
	IsToWechatLive string `json:"is_to_wechat_live,omitempty" xml:"is_to_wechat_live,omitempty"`
	// 去淘宝背景
	ToTBBackground string `json:"to_t_b_background,omitempty" xml:"to_t_b_background,omitempty"`
	// 去淘宝头像
	ToTBAvatar string `json:"to_t_b_avatar,omitempty" xml:"to_t_b_avatar,omitempty"`
	// 二维码浮标
	QrFloat string `json:"qr_float,omitempty" xml:"qr_float,omitempty"`
	// 是否展示浮标
	IsShowQrFloat string `json:"is_show_qr_float,omitempty" xml:"is_show_qr_float,omitempty"`
	// 二维码图片
	QrCode string `json:"qr_code,omitempty" xml:"qr_code,omitempty"`
	// 去淘宝
	ToTB string `json:"to_t_b,omitempty" xml:"to_t_b,omitempty"`
	// 淘口令
	NoTaoTokenTip string `json:"no_tao_token_tip,omitempty" xml:"no_tao_token_tip,omitempty"`
	// 提示语
	QrCodeTip string `json:"qr_code_tip,omitempty" xml:"qr_code_tip,omitempty"`
	// 提示语标题
	QrCodeTitle string `json:"qr_code_title,omitempty" xml:"qr_code_title,omitempty"`
	// 链接已复制
	OperationStatus string `json:"operation_status,omitempty" xml:"operation_status,omitempty"`
	// 就可以抢购啦
	OperationHint string `json:"operation_hint,omitempty" xml:"operation_hint,omitempty"`
}

AlibabajhscommunitysubmittingtextData 结构体

type AlibabajhscommunityuserstatisticsAPIRequest added in v1.3.1

type AlibabajhscommunityuserstatisticsAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabajhscommunityuserstatisticsAPIRequest 聚划算社群用户行为上报 API请求 alibaba.jhs.community.user.statistics

聚划算社群用户行为上报

func NewAlibabajhscommunityuserstatisticsRequest added in v1.3.1

func NewAlibabajhscommunityuserstatisticsRequest() *AlibabajhscommunityuserstatisticsAPIRequest

NewAlibabajhscommunityuserstatisticsRequest 初始化AlibabajhscommunityuserstatisticsAPIRequest对象

func (AlibabajhscommunityuserstatisticsAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabajhscommunityuserstatisticsAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabajhscommunityuserstatisticsAPIRequest) GetExtend added in v1.3.1

GetExtend Extend Getter

func (AlibabajhscommunityuserstatisticsAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabajhscommunityuserstatisticsAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*AlibabajhscommunityuserstatisticsAPIRequest) SetExtend added in v1.3.1

SetExtend is Extend Setter 扩展参数

func (*AlibabajhscommunityuserstatisticsAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter 用户会话

type AlibabajhscommunityuserstatisticsAPIResponse added in v1.3.1

type AlibabajhscommunityuserstatisticsAPIResponse struct {
	model.CommonResponse
	AlibabajhscommunityuserstatisticsAPIResponseModel
}

AlibabajhscommunityuserstatisticsAPIResponse 聚划算社群用户行为上报 API返回值 alibaba.jhs.community.user.statistics

聚划算社群用户行为上报

type AlibabajhscommunityuserstatisticsAPIResponseModel added in v1.3.1

type AlibabajhscommunityuserstatisticsAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_jhs_community_user_statistics_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	Error string `json:"error,omitempty" xml:"error,omitempty"`
	// 上报数据是否成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabajhscommunityuserstatisticsAPIResponseModel is 聚划算社群用户行为上报 成功返回结果

type AlibabajhscommunitywechatloginAPIRequest added in v1.3.1

type AlibabajhscommunitywechatloginAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabajhscommunitywechatloginAPIRequest 聚划算用增淘外社群登录 API请求 alibaba.jhs.community.wechat.login

聚划算用增淘外社群登录

func NewAlibabajhscommunitywechatloginRequest added in v1.3.1

func NewAlibabajhscommunitywechatloginRequest() *AlibabajhscommunitywechatloginAPIRequest

NewAlibabajhscommunitywechatloginRequest 初始化AlibabajhscommunitywechatloginAPIRequest对象

func (AlibabajhscommunitywechatloginAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabajhscommunitywechatloginAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabajhscommunitywechatloginAPIRequest) GetApiParams added in v1.3.1

func (r AlibabajhscommunitywechatloginAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabajhscommunitywechatloginAPIRequest) GetCode added in v1.3.1

GetCode Code Getter

func (AlibabajhscommunitywechatloginAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabajhscommunitywechatloginAPIRequest) SetCode added in v1.3.1

SetCode is Code Setter 动态令牌

type AlibabajhscommunitywechatloginAPIResponse added in v1.3.1

type AlibabajhscommunitywechatloginAPIResponse struct {
	model.CommonResponse
	AlibabajhscommunitywechatloginAPIResponseModel
}

AlibabajhscommunitywechatloginAPIResponse 聚划算用增淘外社群登录 API返回值 alibaba.jhs.community.wechat.login

聚划算用增淘外社群登录

type AlibabajhscommunitywechatloginAPIResponseModel added in v1.3.1

type AlibabajhscommunitywechatloginAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_jhs_community_wechat_login_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 登录会话
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	Error string `json:"error,omitempty" xml:"error,omitempty"`
}

AlibabajhscommunitywechatloginAPIResponseModel is 聚划算用增淘外社群登录 成功返回结果

type CommunityActivityDto added in v1.2.9

type CommunityActivityDto struct {
	// 活动标题
	ActivityTitle string `json:"activity_title,omitempty" xml:"activity_title,omitempty"`
	// 活动内容
	ActivityContent string `json:"activity_content,omitempty" xml:"activity_content,omitempty"`
	// 回流地址
	ActivityBackUrl string `json:"activity_back_url,omitempty" xml:"activity_back_url,omitempty"`
	// 标题
	SpreadTitle string `json:"spread_title,omitempty" xml:"spread_title,omitempty"`
	// 传播图片信息
	SpreadPicUrl string `json:"spread_pic_url,omitempty" xml:"spread_pic_url,omitempty"`
	// 操作时间
	OpeningTime int64 `json:"opening_time,omitempty" xml:"opening_time,omitempty"`
	// 预约时间
	ReservationTime int64 `json:"reservation_time,omitempty" xml:"reservation_time,omitempty"`
	// 活动id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

CommunityActivityDto 结构体

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL