src/main/java/org/springblade/modules/discuss/controller/UserTopicsController.java
@@ -167,7 +167,7 @@ public R updateBath(@Valid @RequestBody List<TopicsVO> topics) throws Exception { String result = userTopicsService.batchSave(topics); if (result.equals("200")) { R.success("操作成功"); R.data("操作成功"); } return R.fail(result); } src/main/java/org/springblade/modules/discuss/service/impl/UserTopicsServiceImpl.java
@@ -100,7 +100,7 @@ } } Boolean userTopics = getaBoolean(topics); if (userTopics != null) return "200"; if (userTopics) return "200"; return "操作失败!"; } @@ -157,7 +157,7 @@ return saveBatch(objectsTwo); } } return null; return false; }