Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShortLink ¶
ShortLink 短链接
func (*ShortLink) GenerateShortLinkPermanent ¶
GenerateShortLinkPermanent 生成永久shortLink
type ShortLinker ¶
type ShortLinker struct { // pageUrl 通过 Short Link 进入的小程序页面路径,必须是已经发布的小程序存在的页面,可携带 query,最大1024个字符 PageURL string `json:"page_url"` // pageTitle 页面标题,不能包含违法信息,超过20字符会用... 截断代替 PageTitle string `json:"page_title"` // isPermanent 生成的 Short Link 类型,短期有效:false,永久有效:true IsPermanent bool `json:"is_permanent,omitempty"` }
ShortLinker 请求结构体
Click to show internal directories.
Click to hide internal directories.