Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
api.API
Login(code string) (string, string, error) // 小程序静默登录,通过code换取UnionId
GetUserPhoneNumber(accessToken, code string) (string, error) // 获取用户手机号码
CreateLimitedWxaCode(accessToken, path string, width int) ([]byte, error) // 生成有限的小程序码
CreateUnlimitedWxaCode(accessToken, scene, page string, width int) ([]byte, error) // CreateUnLimitedWxaCode 生成小程序码,可接受页面参数较短,生成个数不受限
}
Click to show internal directories.
Click to hide internal directories.