mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
refactor: get friends, get groups, get group members, get group member
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user