spring-boot
一夜听风雨2019
这个作者很懒,什么都没留下…
展开
-
springboot官方文档学习01 restful风格
Understanding REST REST (Representational State Transfer) was introduced and defined in 2000 by Roy Fielding in his doctoral dissertation. REST is an architectural style for designing distributed syst...原创 2019-03-09 18:06:15 · 209 阅读 · 0 评论 -
springboot里面关于文件上传路径和服务器开放路径的代码写法
前端传来文件/流/base64字符串. 后端需要对其进行保存 (1)保存需要一个服务器本地磁盘的路径, 本地磁盘的话需要动态的去项目的统计目录去新建一个文件夹来保存 public static String getSavePath() throws FileNotFoundException { // 项目路径 File path = new File(Resou...原创 2019-05-27 19:48:21 · 3928 阅读 · 0 评论