mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 07:41:26 +00:00
doc ocr (#7101)
* doc ocr * update * update * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code --------- Co-authored-by: zheng.shen <zheng.shen@seafile.com> Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
@@ -235,6 +235,11 @@ class Context {
|
||||
return this.metadataAPI.generateFileTags(repoID, filePath);
|
||||
};
|
||||
|
||||
ocr = (filePath) => {
|
||||
const repoID = this.settings['repoID'];
|
||||
return this.metadataAPI.ocr(repoID, filePath);
|
||||
};
|
||||
|
||||
extractFileDetails = (objIds) => {
|
||||
const repoID = this.settings['repoID'];
|
||||
return this.metadataAPI.extractFileDetails(repoID, objIds);
|
||||
|
Reference in New Issue
Block a user