1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 12:52:27 +08:00

小程序码、URL Link 增加参数(#502,#512) (#514)

* 小程序码、URL Link 增加参数(#502,#512)

* gofmt
This commit is contained in:
意琦行
2021-12-07 19:05:37 +08:00
committed by GitHub
parent 83e223999b
commit 9cecda0469
2 changed files with 8 additions and 2 deletions

View File

@@ -33,8 +33,10 @@ const (
// ULParams 请求参数
// https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.generate.html#请求参数
type ULParams struct {
Path string `json:"path"`
Query string `json:"query"`
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"`