feat & fix: feat proto & revert NapProto changes

This commit is contained in:
pk5ls20
2024-10-13 16:13:34 +08:00
parent 2501d7d22a
commit dd5f936cfc
6 changed files with 19 additions and 17 deletions

View File

@@ -76,18 +76,20 @@ export class NTQQPacketApi {
reqHead: {
common: {
requestId: 1,
command: 2
command: 202
},
scene: {
requestType: 2,
businessType: 1,
sceneType: 0
},
clent: {
client: {
agentType: 2
}
},
downloadRKeyReq: [[{ key: 10 }, { key: 20 }], { key: 2 }],
downloadRKeyReq: {
key: [10, 20, 2]
},
});
let oidb_packet = new NapProtoMsg(OidbSvcTrpcTcpBase).encode({
command: 0x9067,
@@ -149,4 +151,4 @@ export class NTQQPacketApi {
}
return { status: status, ext_status: 0 };
}
}
}