浏览代码

no message

xingzai 1 年之前
父节点
当前提交
db20d528b3
共有 1 个文件被更改,包括 0 次插入1 次删除
  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 = "获取用户信息失败"