修复wxuin的int类型导致编译的32位程序出错

This commit is contained in:
纵纬 2021-09-16 01:36:07 +08:00 committed by GitHub
parent 910067fe47
commit 03a426fa36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)