wxa

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateScheme

func GenerateScheme(clt *core.Client, params WxaGenerateSchemeParams) (openlink string, err error)

generatescheme 创建临时二维码.

sceneId:       场景值ID, 为32位非0整型
expireSeconds: 二维码有效时间, 以秒为单位

Types

type WxaGenerateSchemeParams

type WxaGenerateSchemeParams struct {
	JumpWxa        WxaJumpWxa `json:"jump_wxa"`
	ExpireType     int        `json:"expire_type"`
	ExpireTime     int        `json:"expire_time"`
	ExpireInterval int        `json:"expire_interval"`
}

type WxaJumpWxa

type WxaJumpWxa struct {
	Path       string `json:"path"`
	Query      string `json:"query"`
	EnvVersion string `json:"env_version"`
}

Jump to

Keyboard shortcuts

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