@TestpublicvoidtestUpload()throwsFileNotFoundException {//要上传的文件File file =newFile("C:\\Users\\Pictures\\test.jpg");//上传并保存图片,参数:1-上传的文件流 2-文件的大小 3-文件的后缀 4-可以不管他StorePath storePath =this.storag