Merge pull request #82 from Zangwill/patch-2

wxuin的int类型导致编译的32位程序出错
This commit is contained in:
聂青 2021-09-16 09:55:01 +08:00 committed by GitHub
commit c773adcce1
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
}