feat: fetchOtherProfileLike

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

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);
}