可以配置文件里配置:
app.video.save-path=D:/tmp/
spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${app.video.save-path}
可以配置文件里配置:
app.video.save-path=D:/tmp/
spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${app.video.save-path}