test登录

This commit is contained in:
苏尹岚
2020-09-23 15:04:04 +08:00
parent 2ffbc14b4d
commit 0ad0fc7840
2 changed files with 4 additions and 6 deletions

View File

@@ -27,11 +27,15 @@ var (
var (
AutherObjMini *MiniAuther
AutherObjApp *MiniAuther
)
func init() {
AutherObjMini = new(MiniAuther)
auth2.RegisterAuther(AuthTypeMini, AutherObjMini)
AutherObjApp = new(MiniAuther)
auth2.RegisterAuther(AuthTypeWxApp, AutherObjApp)
}
func (a *MiniAuther) VerifySecret(dummy, jsCode string) (authBindEx *auth2.AuthBindEx, err error) {