chore: clean code for system.ts

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

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, () => {
});