Skip to content

Commit

Permalink
fix: error
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Aug 12, 2024
1 parent fba2078 commit d59771a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/apis/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export class NTQQUserApi {

//后期改成流水线处理
async getUidByUinV2(Uin: string) {
let uid = (await this.context.session.getProfileService().getUidByUinV2('FriendsServiceImpl', [Uin])).get(Uin);
let uid = (await this.context.session.getProfileService().getUidByUin('FriendsServiceImpl', [Uin])).get(Uin);
if (uid) return uid;
uid = (await this.context.session.getGroupService().getUidByUins([Uin])).uids.get(Uin);
if (uid) return uid;
Expand Down
2 changes: 1 addition & 1 deletion src/core/services/NodeIKernelProfileService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export enum ProfileBizType {

export interface NodeIKernelProfileService {

getUidByUinV2(callfrom: string, uin: Array<string>): Promise<Map<string, string>>;//uin->uid
getUidByUin(callfrom: string, uin: Array<string>): Promise<Map<string, string>>;//uin->uid

getUinByUid(callfrom: string, uid: Array<string>): Promise<Map<string, string>>;

Expand Down

0 comments on commit d59771a

Please sign in to comment.