pddddkoauthrppromurlgenerate

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppInfo

type AppInfo struct {
	UserName          string  `json:"user_name"`
	PagePath          string  `json:"page_path"`
	QqAppIconURL      *string `json:"qq_app_icon_url,omitempty"`
	SourceDisplayName string  `json:"source_display_name"`
	Title             string  `json:"title"`
	AppID             string  `json:"app_id"`
	Desc              string  `json:"desc"`
	WeAppIconURL      *string `json:"we_app_icon_url,omitempty"`
}

AppInfo 小程序信息

type ResourceList

type ResourceList struct {
	URL  string `json:"url"`
	Desc string `json:"desc"`
}

ResourceList 活动列表

type Response

type Response struct {
	response.TopResponse
	RpPromotionURLGenerateResponse RpPromotionURLGenerateResponse `json:"rp_promotion_url_generate_response"`
}

Response pdd.ddk.oauth.rp.prom.url.generate生成营销工具推广链接

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

WrapResult 解析输出结果

type RpPromotionURLGenerateResponse

type RpPromotionURLGenerateResponse struct {
	URLList      []URLList      `json:"url_list"`
	ResourceList []ResourceList `json:"resource_list"`
	RequestID    string         `json:"request_id"`
}

type URLList

type URLList struct {
	QqAppInfo                AppInfo `json:"qq_app_info"`
	MultiGroupMobileShortURL string  `json:"multi_group_mobile_short_url"`
	MultiGroupURL            string  `json:"multi_group_url"`
	MobileURL                string  `json:"mobile_url"`
	MultiGroupShortURL       string  `json:"multi_group_short_url"`
	SchemaURL                string  `json:"schema_url"`
	WeAppInfo                AppInfo `json:"we_app_info"`
	MobileShortURL           string  `json:"mobile_short_url"`
	MultiGroupMobileURL      string  `json:"multi_group_mobile_url"`
	URL                      string  `json:"url"`
	ShortURL                 string  `json:"short_url"`
}

Jump to

Keyboard shortcuts

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