mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix: unidirectional friend unmarshal error
This commit is contained in:
parent
4164d656d8
commit
802f679783
@ -16,7 +16,7 @@ import (
|
|||||||
type UnidirectionalFriendInfo struct {
|
type UnidirectionalFriendInfo struct {
|
||||||
Uin int64
|
Uin int64
|
||||||
Nickname string
|
Nickname string
|
||||||
Age int32
|
Age uint32
|
||||||
Source string
|
Source string
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -25,8 +25,8 @@ func (c *QQClient) GetUnidirectionalFriendList() (ret []*UnidirectionalFriendInf
|
|||||||
BlockList []struct {
|
BlockList []struct {
|
||||||
Uin int64 `json:"uint64_uin"`
|
Uin int64 `json:"uint64_uin"`
|
||||||
NickBytes string `json:"bytes_nick"`
|
NickBytes string `json:"bytes_nick"`
|
||||||
Age int32 `json:"uint32_age"`
|
Age uint32 `json:"uint32_age"`
|
||||||
Sex int32 `json:"uint32_sex"`
|
Sex uint32 `json:"uint32_sex"`
|
||||||
SourceBytes string `json:"bytes_source"`
|
SourceBytes string `json:"bytes_source"`
|
||||||
} `json:"rpt_block_list"`
|
} `json:"rpt_block_list"`
|
||||||
ErrorCode int32 `json:"ErrorCode"`
|
ErrorCode int32 `json:"ErrorCode"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user