1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-16 10:42:27 +08:00

feat: optimized-error-handling

This commit is contained in:
markwang
2024-03-15 16:23:48 +08:00
parent 6053598a03
commit ea684369a9
7 changed files with 93 additions and 0 deletions

View File

@@ -25,6 +25,20 @@ type TExpireType int
// EnvVersion 要打开的小程序版本
type EnvVersion string
const (
// ExpireTypeTime 指定时间戳后失效
ExpireTypeTime TExpireType = 0
// ExpireTypeInterval 间隔指定天数后失效
ExpireTypeInterval TExpireType = 1
// EnvVersionRelease 正式版为"release"
EnvVersionRelease EnvVersion = "release"
// EnvVersionTrial 体验版为"trial"
EnvVersionTrial EnvVersion = "trial"
// EnvVersionDevelop 开发版为"develop"
EnvVersionDevelop EnvVersion = "develop"
)
// JumpWxa 跳转到的目标小程序信息
type JumpWxa struct {
Path string `json:"path"`