Commit 8cb4b5e5 by 陈健智

链接互动量更新上限调整至500

parent 1d47b444
...@@ -190,8 +190,8 @@ public class ToolsetServiceImpl implements ToolsetService { ...@@ -190,8 +190,8 @@ public class ToolsetServiceImpl implements ToolsetService {
readExcel.setClazz(UploadInteractionUpdateDTO.class); readExcel.setClazz(UploadInteractionUpdateDTO.class);
readExcel.setAnalysisEventListener(new InteractionUpdateListener(urls)); readExcel.setAnalysisEventListener(new InteractionUpdateListener(urls));
EasyExcelUtil.read(file, readExcel); EasyExcelUtil.read(file, readExcel);
if (urls.size() > 300){ if (urls.size() > 500){
return ResponseResult.failure("超过每次更新链接数量上限300"); return ResponseResult.failure("超过每次更新链接数量上限500");
} }
// 互动量更新剩余可用次数 // 互动量更新剩余可用次数
int interactionBalance = projectService.getProjectById(UserThreadLocal.getProjectId()).getInteractionBalance(); int interactionBalance = projectService.getProjectById(UserThreadLocal.getProjectId()).getInteractionBalance();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment