wxaCode

package
v3.2.14 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseClient *kernel.BaseClient
}

func RegisterProvider

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

func (*Client) CreateQRCode

func (comp *Client) CreateQRCode(ctx context.Context, 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(ctx context.Context, path string, width int64,
	autoColor bool, lineColor *power.HashMap, isHyaline bool, envVersion string) (*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(
	ctx context.Context,
	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

func (comp *Client) SaveAs(ctx context.Context, savedPath string, perm fs.FileMode,
	path string, width int64,
	autoColor bool, lineColor *power.HashMap, isHyaline bool, envVersion string) 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