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

优化上传文件路径 #9

Open
wangrunlin opened this issue Aug 30, 2023 · 1 comment
Open

优化上传文件路径 #9

wangrunlin opened this issue Aug 30, 2023 · 1 comment
Labels
enhancement Some improvements

Comments

@wangrunlin
Copy link
Member

wangrunlin commented Aug 30, 2023

核心需求

文件重命名,使用者上传文件时不需要考虑文件命名

代码

path = `file/${item.name}`;

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@TechQuery
Copy link
Member

经研究,应改用 file_tokenattachmentToken 字段为文件名做存储:https://applink.feishu.cn/client/message/link/open?token=AmP0t9g7wYADZxONQCxAAAI%3D

同时代码变更后,需清空对象存储并重新批量缓存所有数据库的上传文件。

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

No branches or pull requests

2 participants