- 博客(2)
- 收藏
- 关注

原创 springboot整合Ueditor的三种方式
最近前端页面需要使用百度的Ueditor富文本编辑器,本来以为只需要前端适配就可以了,没想到Ueditor需要使用一个服务器统一请求接口,各种百度,历时一天终于弄懂了是怎么一回事,下面是我整了的三种整合的方式,从使用Ueditor的后端代码,到引入Ueditor依赖,到最后完全接管Ueditor后端,都是验证可行的。...
2022-06-24 16:30:49
2377
3
原创 资源文件获取时找不到文件
springboot项目需要获取资源目录下的json文件,本地使用getClassLoader().getResource()获取可以,但是部署到线上后,获取到文件路径是file:/tmp/sop.jar!/BOOT-INF/classes!/ueditor-config.json,解决方案使用ClassPathResource类 idea 本地运行时,configPath = /E:/Development/xxx/target/classes/ueditor-config.json 部署到线上
2022-06-24 16:42:35
1179
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人