pddddkoauthresourceurlgen

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 ResourceURLResponse

type ResourceURLResponse struct {
	SingleURLList SingleURLList `json:"single_url_list"`
	Sign          string        `json:"sign"`
	WeAppInfo     WeAppInfo     `json:"we_app_info"`
	RequestID     string        `json:"request_id"`
}

type Response

type Response struct {
	response.TopResponse
	ResourceURLResponse ResourceURLResponse `json:"resource_url_response"`
}

Response pdd.ddk.oauth.resource.url.gen拼多多主站频道推广接口

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

WrapResult 解析输出结果

type SingleURLList

type SingleURLList struct {
	WeAppPagePath        string `json:"we_app_page_path"`
	MobileURL            string `json:"mobile_url"`
	MobileShortURL       string `json:"mobile_short_url"`
	WeAppWebViewURL      string `json:"we_app_web_view_url"`
	URL                  string `json:"url"`
	ShortURL             string `json:"short_url"`
	WeAppWebViewShortURL string `json:"we_app_web_view_short_url"`
	SchemaUrl            string `json:"schema_url"` //手动填充 该值拼多多不返回
}

type WeAppInfo

type WeAppInfo struct {
	WeAppIconURL      string `json:"we_app_icon_url"`
	UserName          string `json:"user_name"`
	PagePath          string `json:"page_path"`
	SourceDisplayName string `json:"source_display_name"`
	Title             string `json:"title"`
	AppID             string `json:"app_id"`
	Desc              string `json:"desc"`
}

Jump to

Keyboard shortcuts

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