Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TExpireType ¶
type TExpireType int
TExpireType 失效类型 (指定时间戳/指定间隔)
const ( // ExpireTypeTime 指定时间戳后失效 ExpireTypeTime TExpireType = 0 // ExpireTypeInterval 间隔指定天数后失效 ExpireTypeInterval TExpireType = 1 )
type ULParams ¶
type ULParams struct { Path string `json:"path"` Query string `json:"query"` // envVersion 要打开的小程序版本。正式版为 "release",体验版为 "trial",开发版为 "develop" EnvVersion string `json:"env_version,omitempty"` IsExpire bool `json:"is_expire"` ExpireType TExpireType `json:"expire_type"` ExpireTime int64 `json:"expire_time"` ExpireInterval int `json:"expire_interval"` }
ULParams 请求参数 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.generate.html#请求参数
type ULResult ¶
type ULResult struct { util.CommonError URLLink string `json:"url_link"` }
ULResult 返回的结果 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.generate.html#返回值
Click to show internal directories.
Click to hide internal directories.