diff --git a/business/auth2/authprovider/weixin/weixin_mini.go b/business/auth2/authprovider/weixin/weixin_mini.go index 9a43b10ea..69833efd9 100644 --- a/business/auth2/authprovider/weixin/weixin_mini.go +++ b/business/auth2/authprovider/weixin/weixin_mini.go @@ -27,7 +27,7 @@ var ( func init() { AutherObjMini = new(MiniAuther) - auth2.RegisterAuther(AuthTypeMP, AutherObjMini) + auth2.RegisterAuther(AuthTypeMini, AutherObjMini) } func (a *MiniAuther) VerifySecret(dummy, jsCode string) (authBind *model.AuthBind, err error) {