This commit is contained in:
cyk
2023-07-07 11:03:36 +08:00
parent 67546f2259
commit 2555f48b6a
2 changed files with 3 additions and 2 deletions

View File

@@ -42,12 +42,13 @@ public class projectService {
now =projectEntity.getCategoryName();
if(i == 0) tem = now;
if(!tem.equals(now)){
tem=now;
dataMap.put(tem,projectEntityListTem);
tem=now;
projectEntityListTem = new ArrayList<>();
}
projectEntityListTem.add(projectEntity);
}
if(projectEntityListTem.size()!= 0) dataMap.put(now,projectEntityListTem);
return JSONObject.toJSONString(dataMap);

View File

@@ -91,7 +91,7 @@ public class UploadHandleServlet extends HttpServlet {
//设置上传单个文件的大小的最大值目前是设置为1024*1024字节也就是2MB
//设置上传单个文件的大小的最大值目前是设置为1024*1024字节也就是10MB
upload.setFileSizeMax(1024*1024*1024*10);
//设置上传文件总量的最大值,最大值=同时上传的多个文件的大小的最大值的和目前设置为10MB