xingzai hai 1 ano
pai
achega
805c652678
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = "登录成功"