Browse Source

no message

xingzai 1 year ago
parent
commit
805c652678
1 changed files with 1 additions and 1 deletions
  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 = "登录成功"