comvipadpapiopenserviceunionurlservicegenbyvipurlwithoauth

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 Response

type Response struct {
	response2.TopResponse
	Result Result `json:"result"`
}

com.vip.adp.api.open.service.UnionUrlService 根据唯品会链接生成联盟链接-需要oauth授权

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

解析输出结果

type Result

type Result struct {
	URLInfoList []URLInfoList `json:"urlInfoList"`
}

type URLInfoList

type URLInfoList struct {
	NoEvokeURL     string `json:"noEvokeUrl"`
	VipQuickAppURL string `json:"vipQuickAppUrl"`
	DeeplinkURL    string `json:"deeplinkUrl"`
	LongURL        string `json:"longUrl"`
	Source         string `json:"source"`
	ULURL          string `json:"ulUrl"`
	URL            string `json:"url"`
	TraFrom        string `json:"traFrom"`
	NoEvokeLongURL string `json:"noEvokeLongUrl"`
	VipWxUrl       string `json:"vipWxUrl"`  //小程序 仅根据商品id获取时 返回
	VipWxCode      string `json:"vipWxCode"` //小程序码 需要高级权限
}

Jump to

Keyboard shortcuts

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