springboot中配置作文件服務addResourceHandler和addResourceLocations

由於springboot是內嵌tomcat,想要文件和應用在一個服務上前端 能夠經過配置web import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; import org.springframework.web.s
相關文章
相關標籤/搜索