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

关于lin_file表中文件名保存方式疑问 #59

Open
zhenchengzj opened this issue Jun 5, 2019 · 1 comment
Open

关于lin_file表中文件名保存方式疑问 #59

zhenchengzj opened this issue Jun 5, 2019 · 1 comment

Comments

@zhenchengzj
Copy link

疑问点:lin_file表中name字段保存的是基于时间戳的uuid,而不是保存的真实文件名。若cms的用户再对上传的文件进行统计或查看时,显示的上传文件名都是uuid格式的。用户怎么知道哪个文件是我想要的?

改善意见:目前lin file中规定文件名必须以uuid的方式进行保存,开发者没得选。虽然开发者可以自己更改保存的方式,但我认为lin file可以做得更好。完全可以再方法_get_store_path中设置一个标识,当标识为1时,以uuid名存储;若为空或其它值时,以真实文件名保存。

一点愚见~

@colorful3
Copy link
Member

谢谢反馈!
参考你的建议,我们会内部商讨处理的方法。

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

No branches or pull requests

2 participants