From 03a426fa366c100fb1bf0c6ccb763c654c9bcd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=B5=E7=BA=AC?= Date: Thu, 16 Sep 2021 01:36:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dwxuin=E7=9A=84int=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=AF=BC=E8=87=B4=E7=BC=96=E8=AF=91=E7=9A=8432?= =?UTF-8?q?=E4=BD=8D=E7=A8=8B=E5=BA=8F=E5=87=BA=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 02e94b5..f7fe433 100644 --- a/client.go +++ b/client.go @@ -204,7 +204,7 @@ func (c *Client) SyncCheck(request *BaseRequest, info *LoginInfo, response *WebI params.Add("r", strconv.FormatInt(time.Now().Unix(), 10)) params.Add("skey", info.SKey) params.Add("sid", info.WxSid) - params.Add("uin", strconv.Itoa(info.WxUin)) + params.Add("uin", strconv.FormatInt(info.WxUin, 10)) params.Add("deviceid", request.DeviceID) params.Add("_", strconv.FormatInt(time.Now().Unix(), 10)) var syncKeyStringSlice = make([]string, response.SyncKey.Count)