From 538a801ccd2f1bef77851b10e1e811aa617a163e Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 4 Mar 2019 11:10:41 +0800 Subject: [PATCH] - fix bug in weixinmini.init --- business/auth2/authprovider/weixin/weixin_mini.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {