浏览代码

no message

xingzai 1 年之前
父节点
当前提交
805c652678
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/wechat.go

+ 1 - 1
controllers/wechat.go

@@ -92,7 +92,7 @@ func (this *WechatCommonController) WechatLogin() {
 	resp.UserId = userId
 	resp.FirstLogin = firstLogin
 	resp.Authorization = token
-	resp.ProductName = fmt.Sprint(wxInfo)
+	resp.ProductName = fmt.Sprint(wxInfo.UnionID, "OpenID", wxInfo.OpenID)
 	br.Ret = 200
 	br.Success = true
 	br.Msg = "登录成功"