fix: 准备第二次重构uid/uin

This commit is contained in:
手瓜一十雪 2024-08-04 16:50:23 +08:00
parent 8a5d4a683b
commit 491ec04b46
4 changed files with 18 additions and 4 deletions

View File

@ -1,5 +1,10 @@
import { QQLevel, Sex } from './user';
export enum GroupListUpdateType {
REFRESHALL,
GETALL,
MODIFIED,
REMOVE
}
export interface Group {
groupCode: string,
createTime?:string,//高版本才有

View File

@ -1,7 +1,7 @@
import { Group, GroupMember, GroupNotify } from '@/core/entities';
import { Group, GroupListUpdateType, GroupMember, GroupNotify } from '@/core/entities';
interface IGroupListener {
onGroupListUpdate(updateType: number, groupList: Group[]): void;
onGroupListUpdate(updateType: GroupListUpdateType, groupList: Group[]): void;
onGroupExtListUpdate(...args: unknown[]): void;
@ -202,7 +202,7 @@ export class DebugGroupListener implements IGroupListener {
console.log('onGroupNotifiesUnreadCountUpdated:', ...args);
}
onGroupSingleScreenNotifies(doubt: boolean, seq: string, notifies: GroupNotify[]){
onGroupSingleScreenNotifies(doubt: boolean, seq: string, notifies: GroupNotify[]) {
console.log('onGroupSingleScreenNotifies:');
}

View File

@ -9,6 +9,11 @@ import {
import { GeneralCallResult } from '@/core/services/common';
export interface NodeIKernelGroupService {
getUidByUin(uin: string): Promise<string>;
getUinByUid(uid: string): Promise<string>;
//26702
getGroupMemberLevelInfo(groupCode: string): Promise<unknown>;
//26702
getGroupHonorList(groupCodes: Array<string>): unknown;

View File

@ -14,6 +14,10 @@ export enum ProfileBizType {
KOTHER
}
export interface NodeIKernelProfileService {
getUidByUin(uin: string): Promise<string>;
getUinByUid(uid: string): Promise<string>;
// {
// coreInfo: CoreInfo,
// baseInfo: BaseInfo,