1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-05 03:23:50 +08:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
wdvxdr 2020-10-13 13:27:29 +08:00
commit f414ad7a5a
3 changed files with 348 additions and 348 deletions

View File

@ -10,7 +10,7 @@ import (
func (c *QQClient) buildOfflineFileDownloadRequestPacket(uuid []byte) (uint16, []byte) {
seq := c.nextSeq()
req := &cmd0x346.ReqBody{
req := &cmd0x346.C346ReqBody{
Cmd: 1200,
Seq: int32(seq),
BusinessId: 3,
@ -30,7 +30,7 @@ func (c *QQClient) buildOfflineFileDownloadRequestPacket(uuid []byte) (uint16, [
}
func decodeOfflineFileDownloadResponse(c *QQClient, _ uint16, payload []byte) (interface{}, error) {
rsp := cmd0x346.RspBody{}
rsp := cmd0x346.C346RspBody{}
if err := proto.Unmarshal(payload, &rsp); err != nil {
c.Error("unmarshal cmd0x346 rsp body error: %v", err)
return nil, err

File diff suppressed because it is too large Load Diff

View File

@ -354,7 +354,7 @@ message RenewFileRsp {
int32 retCode = 1;
string retMsg = 2;
}
message ReqBody {
message C346ReqBody {
int32 cmd = 1;
int32 seq = 2;
RecvListQueryReq recvListQueryReq = 3;
@ -383,7 +383,7 @@ message ReqBody {
ApplyGetTrafficReq applyGetTrafficReq = 90002;
ExtensionReq extensionReq = 99999;
}
message RspBody {
message C346RspBody {
int32 cmd = 1;
int32 seq = 2;
RecvListQueryRsp recvListQueryRsp = 3;