打赏
摘要: System.getProperty("user.dir") 获得程序当前路径 因为所有在java.io中的类都是将相对路径名解释为起始于用户的当前工作目录,所以应该清楚当前的目录。 可以通过调用System.getProperty("user.dir") 来获得 (Test.class.getPa 阅读全文
posted @ 2020-05-29 10:13 吃瓜大湿熊 阅读(826) 评论(0) 推荐(0)
摘要: package com.weixiu.jingwei.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping 阅读全文
posted @ 2020-05-29 09:07 吃瓜大湿熊 阅读(332) 评论(0) 推荐(0)
摘要: /** * 保存图片 */ @CrossOrigin(origins = {"*", "null"}) @RequestMapping(value = "uploadPic", method = RequestMethod.POST, produces = {"application/json;ch 阅读全文
posted @ 2020-05-29 09:06 吃瓜大湿熊 阅读(2554) 评论(0) 推荐(0)