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

上传图片失败 #96

Open
godbin1 opened this issue May 14, 2023 · 1 comment
Open

上传图片失败 #96

godbin1 opened this issue May 14, 2023 · 1 comment

Comments

@godbin1
Copy link

godbin1 commented May 14, 2023

上传图片或更改文章列表的封面不能成功

@ChivasMoriaty
Copy link

ChivasMoriaty commented May 22, 2023

从数据库直接修改是可以成功的,但是在网站上修改无效。
不过,如果你修改了 UploadFileController.java 中上传路径(rootPath)并且为 tomcat 设置 uploads 映射的话就可以在博客网站上直接上传图片了。(见本项目 README 中”使用步骤“的第五步)

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