refactor: NTQQGroupApi

This commit is contained in:
手瓜一十雪 committed 2024-12-04 10:43:48 +08:00
1 parent f85c78d629
commit 7b8ad43186
4 files changed
+84 -92

No files matched your search

+9
View File
@@ -18,6 +18,15 @@ export class NTQQUserApi {
async getStatusByUid(uid: string) {
return this.context.session.getProfileService().getStatus(uid);
}
async getCoreAndBaseInfo(uids: string[]) {
return await this.core.eventWrapper.callNoListenerEvent(
'NodeIKernelProfileService/getCoreAndBaseInfo',
'nodeStore',
uids,
);
}
// 默认获取自己的 type = 2 获取别人 type = 1
async getProfileLike(uid: string, start: number, count: number, type: number = 2) {
return this.context.session.getProfileLikeService().getBuddyProfileLike({