Documentation ¶
Index ¶
- type Client
- func (comp *Client) CreateQRCode(path string, width int64) (*http.Response, error)
- func (comp *Client) Get(path string, width int64, autoColor bool, lineColor *power.HashMap, ...) (*http.Response, error)
- func (comp *Client) GetUnlimited(scene string, page string, width int64, autoColor bool, ...) (*http.Response, error)
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 ¶
获取小程序二维码,适用于需要的码数量较少的业务场景 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
Click to show internal directories.
Click to hide internal directories.