浏览代码

绑公众号

genlong 7 月之前
父节点
当前提交
d108bea969
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      controllers/user/wechat.go

+ 3 - 0
controllers/user/wechat.go

@@ -18,6 +18,9 @@ func (a *AuthController) BindGzh(code string) {
 			logger.Error("code不能为空")
 			return result, exception.New(exception.WeChatCodeEmpty)
 		}
+
+		logger.Info("bindGzh code:" + code)
+
 		//刷新token
 		//isBind, err := auth.BindWxGzh(code)
 		//if err != nil {