qrCode

package
v3.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const DAY int = 86400
View Source
const SCENE_MAX_VALUE int = 100000
View Source
const SCENE_QR_CARD string = "QR_CARD"
View Source
const SCENE_QR_FOREVER string = "QR_LIMIT_SCENE"
View Source
const SCENE_QR_FOREVER_STR string = "QR_LIMIT_STR_SCENE"
View Source
const SCENE_QR_TEMPORARY string = "QR_SCENE"
View Source
const SCENE_QR_TEMPORARY_STR string = "QR_STR_SCENE"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseClient *kernel.BaseClient
}

func NewClient

func NewClient(app *kernel.ApplicationInterface) (*Client, error)

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)

func (*Client) Temporary

func (comp *Client) Temporary(ctx context.Context, sceneValue interface{}, expireSeconds int) (*response.ResponseQRCodeCreate, error)

生成临时二维码请求 https://developers.weixin.qq.com/doc/offiaccount/Account_Management/Generating_a_Parametric_QR_Code.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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