diff --git a/src/core/src/apis/msg.ts b/src/core/src/apis/msg.ts index ba85dbe7..53c9ba88 100644 --- a/src/core/src/apis/msg.ts +++ b/src/core/src/apis/msg.ts @@ -43,6 +43,7 @@ setTimeout(() => { await sleep(100); // NTQQMsgApi.CheckSendMode().then().catch(); loadMessageUnique().then().catch(); + //下面的代码还没摸清 不要使用 //let data = await napCatCore.session.getMsgService().sendSsoCmdReqByContend("LightAppSvc.mini_app_growguard.ReportExecute","1124343"); //console.log(data); }); @@ -72,6 +73,7 @@ export class NTQQMsgApi { } static async getMsgEmojiLikesList(peer: Peer, msgSeq: string, emojiId: string, emojiType: string, count: number = 20) { //console.log(peer, msgSeq, emojiId, emojiType, count); + //注意此处emojiType 可选值一般为1-2 2好像是unicode表情dec值 大部分情况 Taged M likiowa return napCatCore.session.getMsgService().getMsgEmojiLikesList(peer, msgSeq, emojiId, emojiType, "", false, 20) } // static napCatCore: NapCatCore | null = null; diff --git a/src/core/src/sessionConfig.ts b/src/core/src/sessionConfig.ts index fdfe988e..4fb5d28a 100644 --- a/src/core/src/sessionConfig.ts +++ b/src/core/src/sessionConfig.ts @@ -77,7 +77,7 @@ export const sessionConfig: WrapperSessionInitConfig | any = {}; export async function genSessionConfig(selfUin: string, selfUid: string, account_path: string): Promise { const downloadPath = path.join(account_path, 'NapCat', 'temp'); fs.mkdirSync(downloadPath, { recursive: true }); - let guid: string = await getMachineId(); + let guid: string = await getMachineId();//26702 支持JS获取guid值 在LoginService中获取 TODO mlikiow a //console.log(guid); // guid = '52afb776-82f6-4e59-9d38-44705b112d0a'; //let guid: string = await getMachineId();