Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Develop ¶
func Develop(param *typwx.CommonWxaCodeParam)
func Trial ¶
func Trial(param *typwx.CommonWxaCodeParam)
Types ¶
type Param ¶
type Param func(param *typwx.CommonWxaCodeParam)
type Wxmp ¶
type Wxmp interface {
// 校验凭证
Auth(appId, appSecret, code string) (*typwx.WxmpSession, error)
DecryptUserInfo(appId, encryptedData, iv string) (*typwx.WxmpUserInfo, error)
DecryptMobileInfo(appId, encryptedData, iv string) (*typwx.WxmpMobileInfo, error)
CreateLimitedWxaCode(appId, appSecret, path string, width int, args ...Param) ([]byte, error)
CreateUnLimitedWxaCode(appId, appSecret, scene, page string, width int, args ...Param) ([]byte, error)
GetUserPhoneNumber(appId, appSecret, code string) (*typwx.WxmpMobileInfo, error)
GetAccessToken(appId, appSecret string) (string, error)
}
Click to show internal directories.
Click to hide internal directories.