修改
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
@@ -91,7 +91,7 @@ public class UploadHandleServlet extends HttpServlet {
|
||||
|
||||
|
||||
|
||||
//设置上传单个文件的大小的最大值,目前是设置为1024*1024字节,也就是2MB
|
||||
//设置上传单个文件的大小的最大值,目前是设置为1024*1024字节,也就是10MB
|
||||
upload.setFileSizeMax(1024*1024*1024*10);
|
||||
|
||||
//设置上传文件总量的最大值,最大值=同时上传的多个文件的大小的最大值的和,目前设置为10MB
|
||||
|
Reference in New Issue
Block a user