chore: clean code for system.ts

This commit is contained in:
Wesley F. Young committed 2024-08-31 14:09:25 +08:00
1 parent f34740f1f0
commit 3e53cbcf8f
2 files changed
+4 -8

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ export class OCRImage extends BaseAction<Payload, any> {
}
if (path) {
await checkFileReceived(path, 5000); // 文件不存在QQ会崩溃,需要提前判断
const ret = await NTQQSystemApi.ORCImage(path);
const ret = await NTQQSystemApi.ocrImage(path);
if (!isLocal) {
fs.unlink(path, () => {
});