refactor: get friends, get groups, get group members, get group member

This commit is contained in:
linyuchen
2024-04-28 18:14:21 +08:00
parent 7901e9d917
commit 4298c1775f
36 changed files with 61 additions and 149 deletions

View File

@@ -2,7 +2,7 @@ import { ChatType, Peer } from '@/core/entities';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { NTQQMsgApi } from '@/core/apis';
import { getFriend, getUidByUin } from '@/common/data';
import { getFriend, getUidByUin } from '@/core/data';
interface Payload {
user_id: number;

View File

@@ -26,7 +26,7 @@ import { dbUtil } from '@/common/utils/db';
import { log, logDebug, logError } from '@/common/utils/log';
import { sleep } from '@/common/utils/helper';
import { uri2local } from '@/common/utils/file';
import { getFriend, getGroup, getGroupMember, getUidByUin, selfInfo } from '@/common/data';
import { getFriend, getGroup, getGroupMember, getUidByUin, selfInfo } from '@/core/data';
import { NTQQMsgApi } from '../../../core/src/apis';
import { NTQQFileApi } from '../../../core/src/apis';
import { ob11Config } from '@/onebot11/config';