style: lint

This commit is contained in:
手瓜一十雪
2024-10-29 18:48:20 +08:00
parent 4b40526441
commit 1b50d1803c
5 changed files with 27 additions and 28 deletions

View File

@@ -12,7 +12,6 @@ import {
import { isNumeric, solveAsyncProblem } from '@/common/helper';
import { LimitedHashTable } from '@/common/message-unique';
import { NTEventWrapper } from '@/common/event';
import { b, c } from 'vite/dist/node/types.d-aGj9QkWt';
export class NTQQGroupApi {
context: InstanceContext;

View File

@@ -191,7 +191,7 @@ export class NTQQPacketApi {
async sendMiniAppShareInfoReq(param: MiniAppReqParams) {
const data = this.packetSession?.packer.packMiniAppAdaptShareInfo(param);
const ret = await this.sendPacket("LightAppSvc.mini_app_share.AdaptShareInfo", data!, true);
const body = new NapProtoMsg(MiniAppAdaptShareInfoResp).decode(Buffer.from(ret.hex_data, 'hex'))
const body = new NapProtoMsg(MiniAppAdaptShareInfoResp).decode(Buffer.from(ret.hex_data, 'hex'));
return JSON.parse(body.content.jsonContent) as MiniAppRawData;
}
}

View File

@@ -38,7 +38,7 @@ export abstract class MiniAppInfo {
});
MiniAppInfo.appMap.set("bili", this);
}
}
};
static WeiBo = new class extends MiniAppInfo {
constructor() {
@@ -56,7 +56,7 @@ export abstract class MiniAppInfo {
});
MiniAppInfo.appMap.set("weibo", this);
}
}
};
}
export class MiniAppInfoHelper {

View File

@@ -742,6 +742,6 @@ export class PacketPacker {
}
}
)
)
);
}
}