Browse Source

no message

xingzai 1 year ago
parent
commit
db20d528b3
1 changed files with 0 additions and 1 deletions
  1. 0 1
      controllers/wechat.go

+ 0 - 1
controllers/wechat.go

@@ -36,7 +36,6 @@ func (this *WechatCommonController) WechatLogin() {
 		br.ErrMsg = "Code 为空"
 		return
 	}
-	return
 	wxInfo, err := weapp.Login(utils.WxAppId, utils.WxAppSecret, code)
 	if err != nil {
 		br.Msg = "获取用户信息失败"