feat: fetchOtherProfileLike

This commit is contained in:
手瓜一十雪 2024-09-12 20:05:46 +08:00
parent 0c2e39214f
commit 11aa3a0315
2 changed files with 13 additions and 2 deletions

View File

@ -24,7 +24,18 @@ export class NTQQUserApi {
limit: 20, 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) { async setLongNick(longNick: string) {
return this.context.session.getProfileService().setLongNick(longNick); return this.context.session.getProfileService().setLongNick(longNick);
} }

View File

@ -216,7 +216,7 @@ export interface BuddyProfileLikeReq {
userProfile: number; userProfile: number;
type: number; type: number;
start: number; start: number;
limit: number; limit?: number;
} }
export interface QQLevel { export interface QQLevel {