Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateQRCodeRequest ¶
type GetRequest ¶
type UnlimitedQRCode ¶
type UnlimitedQRCode struct {
Scene string `json:"scene"`
Page string `json:"page,omitempty"`
Width int `json:"width,omitempty"`
AutoColor bool `json:"auto_color,omitempty"`
LineColor Color `json:"line_color,omitempty"`
IsHyaline bool `json:"is_hyaline,omitempty"`
}
UnlimitedQRCode 小程序码参数
type WXACode ¶
type WXACode struct {
// contains filtered or unexported fields
}
func NewWXACode ¶
func (*WXACode) CreateQRCode ¶
func (cli *WXACode) CreateQRCode(req *CreateQRCodeRequest) (*http.Response, *request.CommonError, error)
获取小程序二维码,适用于需要的码数量较少的业务场景。通过该接口生成的小程序码,永久有效,有数量限制。
func (*WXACode) GetUnlimited ¶
func (cli *WXACode) GetUnlimited(req *UnlimitedQRCode) (*http.Response, *request.CommonError, error)
获取小程序码,适用于需要的码数量极多的业务场景。通过该接口生成的小程序码,永久有效,数量暂无限制。
func (*WXACode) QRCode ¶
func (cli *WXACode) QRCode(req *GetRequest) (*http.Response, *request.CommonError, error)
获取小程序码,适用于需要的码数量较少的业务场景。通过该接口生成的小程序码,永久有效,有数量限制
Click to show internal directories.
Click to hide internal directories.