java
小菜鸟学习啦
菜鸟一枚
展开
-
根据两个经纬度坐标计算距离Java
根据两个经纬度坐标计算距离Java代码原创 2022-05-16 19:31:10 · 274 阅读 · 0 评论 -
springboot访问项目外部文件
方法一:application.properties 在springboot的application.properties的配置文件中加入: spring.resources.static-locations=file:E://uploads spring.mvc.static-path-pattern=/** 如果E://uploads下有一个1.txt文件 在地址栏中输入localhost:8080/1.txt就可以访问文件了 方法二:添加配置类 @Configuration public class原创 2020-10-14 10:33:49 · 1072 阅读 · 0 评论