1. 引入maven依赖
<!--上传文件-->
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.3.3</version>
</dependency>
<!--io流-->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
</dependency>
private String filePath="E://itripImages/img/comment/"; //文件路径
private String prefix_img="img.itrip.project.bdqn.cn/comment/"; //评论图片文件名前缀
public List<String> upLoadCommentImage(HttpServletRequest request) throws IOException, FileSizeOverException, BizFileUploadFailedException, BizFileTypeNotMatchException, BizFileCountOverException {
System.out.println("图片上传业务处理");
//图片路径集合
List&l