From 33199f8dc8b49667a9929a2753ad2b0df2dedbe8 Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 28 Jan 2019 14:17:07 +0800 Subject: [PATCH] - fk --- business/jxcallback/auth/weixin/weixin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/jxcallback/auth/weixin/weixin.go b/business/jxcallback/auth/weixin/weixin.go index 8eebcfe01..b3d715b12 100644 --- a/business/jxcallback/auth/weixin/weixin.go +++ b/business/jxcallback/auth/weixin/weixin.go @@ -150,6 +150,7 @@ func BindMobile2(openid, secret, mobileNum, verifyCode, nickname string) (loginI if secret == cachedSecret { api.Cacher.Del(openid) if err = mobile.VerifyCode(mobileNum, verifyCode); err == nil { + err = nil if nickname == "" { nickname = wxUserinfo.NickName }