chore: clean code for system.ts
This commit is contained in:
1 parent
f34740f1f0
commit
3e53cbcf8f
2 files changed
+4
-8
No files matched your search
@@ -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, () => {
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user