wxaCode

package
v2.0.1-beta20 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 6 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, 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

Jump to

Keyboard shortcuts

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