|
|
@ -60,7 +60,7 @@ public class FileBatchUploadComponent { |
|
|
|
* @param relativePath |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public ResultBean<FileUploadResult> batchUploadFile( MultipartFile[] files, boolean hasDateDir, String relativePath) { |
|
|
|
public ResultBean<FileUploadResult> batchUploadFileOld( MultipartFile[] files, boolean hasDateDir, String relativePath) { |
|
|
|
ResultBean rm = ResultBean.fireFail(); |
|
|
|
|
|
|
|
if (files.length > 9) { //最多只能上传9张图片
|
|
|
@ -230,7 +230,7 @@ public class FileBatchUploadComponent { |
|
|
|
* @param relativePath |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public ResultBean<FileUploadResult> batchUploadFileOld( MultipartFile[] files, boolean hasDateDir, String relativePath) { |
|
|
|
public ResultBean<FileUploadResult> batchUploadFile( MultipartFile[] files, boolean hasDateDir, String relativePath) { |
|
|
|
ResultBean rm = ResultBean.fireFail(); |
|
|
|
|
|
|
|
if (files.length > 9) { //最多只能上传9张图片
|
|
|
|