mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-13 00:10:27 +00:00
refactor: core
This commit is contained in:
@@ -6,9 +6,9 @@ import {
|
||||
ChatType,
|
||||
ChatCacheListItemBasic,
|
||||
CacheFileType
|
||||
} from '../../../ntqqapi/types';
|
||||
} from '@/core/entities';
|
||||
import { dbUtil } from '../../../common/db';
|
||||
import { NTQQFileApi, NTQQFileCacheApi } from '@/core/qqnt/apis/file';
|
||||
import { NTQQFileApi, NTQQFileCacheApi } from '@/core/apis/file';
|
||||
|
||||
export default class CleanCache extends BaseAction<void, void> {
|
||||
actionName = ActionName.CleanCache;
|
||||
@@ -102,4 +102,4 @@ function getCacheList(type: ChatType) { // NOTE: 做这个方法主要是因为
|
||||
})
|
||||
.catch(e => rej(e));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user