摘要:
System.getProperty("user.dir") 获得程序当前路径 因为所有在java.io中的类都是将相对路径名解释为起始于用户的当前工作目录,所以应该清楚当前的目录。 可以通过调用System.getProperty("user.dir") 来获得 (Test.class.getPa 阅读全文
posted @ 2020-05-29 10:13
张学涛
阅读(816)
评论(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
张学涛
阅读(325)
评论(0)
推荐(0)
摘要:
/** * 保存图片 */ @CrossOrigin(origins = {"*", "null"}) @RequestMapping(value = "uploadPic", method = RequestMethod.POST, produces = {"application/json;ch 阅读全文
posted @ 2020-05-29 09:06
张学涛
阅读(2541)
评论(0)
推荐(0)

浙公网安备 33010602011771号