Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载链接有效期延长到四小时 #27

Merged
merged 1 commit into from
Feb 26, 2021
Merged

下载链接有效期延长到四小时 #27

merged 1 commit into from
Feb 26, 2021

Conversation

122cygf
Copy link

@122cygf 122cygf commented Feb 26, 2021

#25 昨天提了个issue,今天想想我还是自己写一个吧。
我不会go语言,所以自己照葫芦画瓢写了一个。
利用 /file/get_download_url 设置过期时间,现在直接下载、预览、复制直链跳转的阿里云盘下载直链有效期都延长到了四个小时,对于大文件下载和电影在线预览都更友好了。

@xhofe
Copy link
Collaborator

xhofe commented Feb 26, 2021

感谢🙏,本来准备今天下午改的。

@122cygf
Copy link
Author

122cygf commented Feb 26, 2021

我写的可能逻辑变复杂了(

@xhofe xhofe merged commit 0e7083a into AlistGo:main Feb 26, 2021
@xhofe
Copy link
Collaborator

xhofe commented Feb 26, 2021

没有没有 看了一下 没啥问题的👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants