1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00

[dist] fix share link and internal link

This commit is contained in:
ilearnit
2018-08-22 18:07:32 +08:00
parent 349abf5327
commit 5eba3e385e
4 changed files with 20 additions and 3 deletions

View File

@@ -126,6 +126,23 @@ class EditorUtilities {
seafileAPI.getFileInfo(repoID, filePath)
)
}
getInternalLink() {
return seafileAPI.getInternalLink(repoID, filePath)
}
getShareLink() {
return seafileAPI.getShareLink(repoID, filePath);
}
createShareLink (repoID, filePath, userPassword, userValidDays) {
return seafileAPI.createShareLink(repoID, filePath, userPassword, userValidDays);
}
deleteShareLink(token){
return seafileAPI.deleteShareLink(token)
}
}