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

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

View File

@ -12,7 +12,7 @@ import (
// LoginInfo 登录信息
type LoginInfo struct {
Ret int `xml:"ret"`
WxUin int `xml:"wxuin"`
WxUin int64 `xml:"wxuin"`
IsGrayScale int `xml:"isgrayscale"`
Message string `xml:"message"`
SKey string `xml:"skey"`
@ -53,7 +53,7 @@ func (l LoginInfo) Error() string {
// BaseRequest 初始的请求信息
// 几乎所有的请求都要携带该参数
type BaseRequest struct {
Uin int
Uin int64
Sid, Skey, DeviceID string
}