wxaCode

package
v2.0.40 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*kernel.BaseClient
}

func RegisterProvider

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

func (*Client) CreateQRCode

func (comp *Client) CreateQRCode(path string, width int64) (*http.Response, error)

获取小程序二维码,适用于需要的码数量较少的业务场景 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.createQRCode.html

func (*Client) Get

func (comp *Client) Get(path string, width int64,
	autoColor bool, lineColor *power.HashMap, isHyaline bool) (*http.Response, error)

获取小程序码,适用于需要的码数量较少的业务场景 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.get.html

func (*Client) GetUnlimited

func (comp *Client) GetUnlimited(
	scene string, page string,
	checkPath bool, envVersion string, width int64,
	autoColor bool, lineColor *power.HashMap, isHyaline bool) (*http.Response, error)

获取小程序码,适用于需要的码数量极多的业务场景 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.getUnlimited.html

func (*Client) SaveAs added in v2.0.37

func (comp *Client) SaveAs(savedPath string, perm fs.FileMode,
	path string, width int64,
	autoColor bool, lineColor *power.HashMap, isHyaline bool) error

获取小程序码,适用于需要的码数量较少的业务场景 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.get.html

Jump to

Keyboard shortcuts

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