Ver Fonte

no message

xingzai há 1 ano atrás
pai
commit
805c652678
1 ficheiros alterados com 1 adições e 1 exclusões
  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 = "登录成功"