BaseQRCode

package
v5.1.37 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetQRCode

func GetQRCode(args *ArgsGetQRCode) (result string, err error)

GetQRCode 生成二维码

func GetQRCodeByte

func GetQRCodeByte(args *ArgsGetQRCode) (result []byte, err error)

GetQRCodeByte 生成二维码二进制

Types

type ArgsGetQRCode

type ArgsGetQRCode struct {
	//二维码内容
	Param string `db:"param" json:"param"`
	//尺寸
	Size int `db:"size" json:"size" check:"intThan0"`
}

ArgsGetQRCode 生成一般的二维码 反馈base64数据

Jump to

Keyboard shortcuts

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