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:
@@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user