提交 b296d7fb 编写于 作者: W wenguang

注释完善

上级 a6ce3467
......@@ -61,6 +61,8 @@ public class FileController {
/**
* 实现多文件上传
* @param files
* @return
*/
@RequestMapping("/multifileUpload")
@ResponseBody
......@@ -102,7 +104,9 @@ public class FileController {
}
/**
*实现文件下载
* 实现文件检索
* @param model
* @return
*/
@RequestMapping("/fileDownload")
public String fileDownload(Model model) {
......@@ -127,6 +131,13 @@ public class FileController {
return "fileDownload";
}
/**
* 文件下载
* @param downFileName
* @param response
* @return
* @throws UnsupportedEncodingException
*/
@GetMapping("/download/{downFileName:.+}")
public String downLoad(@PathVariable("downFileName") String downFileName, HttpServletResponse response)
throws UnsupportedEncodingException {
......
......@@ -30,7 +30,8 @@ public class PhotographController {
/**
* 头像上传
* @param file
* @param op
* @param base64url
* @return
*/
@RequestMapping("/photoUpload")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册