diff --git a/src/core/services/NodeIO3MiscService.ts b/src/core/services/NodeIO3MiscService.ts index 95c59d59..3bfd4c32 100644 --- a/src/core/services/NodeIO3MiscService.ts +++ b/src/core/services/NodeIO3MiscService.ts @@ -6,4 +6,6 @@ export interface NodeIO3MiscService { addO3MiscListener(listeners: NodeIO3MiscListener): number; setAmgomDataPiece(appid: string, dataPiece: Uint8Array): void; + + reportAmgomWeather(type: string, uk2: string, arg: Array): void; } diff --git a/src/shell/napcat.ts b/src/shell/napcat.ts index de259d16..6ef11355 100644 --- a/src/shell/napcat.ts +++ b/src/shell/napcat.ts @@ -118,7 +118,8 @@ export async function NCoreInitShell() { quickLoginUin = ''; } } - + let dataTimestape = new Date().getTime().toString(); + o3Service.reportAmgomWeather('login', 'a1', [dataTimestape, '0', '0']); const selfInfo = await new Promise((resolve) => { const loginListener = new NodeIKernelLoginListener(); let isLogined = false;