feat: fetchOtherProfileLike

This commit is contained in:
手瓜一十雪 committed 2024-09-12 20:05:46 +08:00
1 parent 103fc9a198
commit 4be623fec4
2 files changed
+13 -2

No files matched your search

+12 -1
View File
@@ -24,7 +24,18 @@ export class NTQQUserApi {
limit: 20,
});
}
async fetchOtherProfileLike(uid: string) {
return this.context.session.getProfileLikeService().getBuddyProfileLike({
friendUids: [uid],
basic: 1,
vote: 1,
favorite: 0,
userProfile: 0,
type: 1,
start: 0,
limit: 20,
});
}
async setLongNick(longNick: string) {
return this.context.session.getProfileService().setLongNick(longNick);
}