摘要: ###启动类增加 ```java public static void main(String[] args) { SpringApplication application = new SpringApplication(CampusSecurityApplication.class); appl 阅读全文
posted @ 2023-06-09 17:28 小侯学编程 阅读(124) 评论(0) 推荐(0)
摘要: ###使用ClassPathResource方式获取static下的文件(别的方式本地可以访问到,Docker部署后不行) ```java final String templatePath = "/static/dbManage_Template.xlsx"; ClassPathResource 阅读全文
posted @ 2023-06-09 17:18 小侯学编程 阅读(513) 评论(0) 推荐(0)