mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix: update qidian protocol version
This commit is contained in:
parent
0f43de570f
commit
27c591e3cb
@ -92,14 +92,14 @@ func (i Protocol) Version() *AppVersion {
|
||||
case QiDian:
|
||||
return &AppVersion{
|
||||
ApkId: "com.tencent.qidian",
|
||||
AppId: 537061386,
|
||||
AppId: 537096038,
|
||||
SubAppId: 537036590,
|
||||
SortVersionName: "3.8.6",
|
||||
BuildTime: 1556628836,
|
||||
SortVersionName: "5.0.0",
|
||||
BuildTime: 1630062176,
|
||||
ApkSign: []byte{160, 30, 236, 171, 133, 233, 227, 186, 43, 15, 106, 21, 140, 133, 92, 41},
|
||||
SdkVersion: "6.0.0.2365",
|
||||
SSOVersion: 5,
|
||||
MiscBitmap: 49807228,
|
||||
SdkVersion: "6.0.0.2484",
|
||||
SSOVersion: 18,
|
||||
MiscBitmap: 184024956,
|
||||
SubSigmap: 66560,
|
||||
MainSigMap: 34869472,
|
||||
Protocol: i,
|
||||
|
@ -38,7 +38,7 @@ func (c *QQClient) getQiDianAddressDetailList() ([]*FriendInfo, error) {
|
||||
Timestamp2: proto.Uint64(0),
|
||||
},
|
||||
}
|
||||
rspData, err := c.bigDataRequest(1305, req)
|
||||
rspData, err := c.bigDataRequest(0x519, req)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "request error")
|
||||
}
|
||||
@ -116,7 +116,7 @@ func (c *QQClient) bigDataRequest(subCmd uint32, req proto.Message) ([]byte, err
|
||||
Command: proto.Uint32(1791),
|
||||
SubCommand: &subCmd,
|
||||
Seq: proto.Uint32(uint32(c.nextHighwayApplySeq())),
|
||||
Version: proto.Uint32(386), // todo: short version convert
|
||||
Version: proto.Uint32(500), // todo: short version convert
|
||||
Flag: proto.Uint32(1),
|
||||
CompressType: proto.Uint32(0),
|
||||
ErrorCode: proto.Uint32(0),
|
||||
|
Loading…
x
Reference in New Issue
Block a user