diff --git a/laws-modules/src/main/java/com/jero/modules/laws/dataCenter/controller/LawsDataCenterFileController.java b/laws-modules/src/main/java/com/jero/modules/laws/dataCenter/controller/LawsDataCenterFileController.java index 5646b877..e83c7aee 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/dataCenter/controller/LawsDataCenterFileController.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/dataCenter/controller/LawsDataCenterFileController.java @@ -77,7 +77,7 @@ public class LawsDataCenterFileController extends JeroController add(@Validated @RequestBody LawsDataCenterFile lawsDataCenterFile) { lawsDataCenterFileService.add(lawsDataCenterFile); - return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + return Result.OK(ResultCommon.OK); } /** @@ -92,7 +92,7 @@ public class LawsDataCenterFileController extends JeroController edit(@Validated @RequestBody LawsDataCenterFile lawsDataCenterFile) { lawsDataCenterFileService.editById(lawsDataCenterFile); - return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + return Result.OK(ResultCommon.OK); } /** @@ -110,7 +110,7 @@ public class LawsDataCenterFileController extends JeroController addProblem(@Validated @RequestBody LawsProblemLibrary lawsProblemLibrary) { lawsProblemLibraryService.addProblem(lawsProblemLibrary); - return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + return Result.OK(ResultCommon.OK); } @AutoLog(value = "国内标准-提出问题") @@ -65,7 +65,7 @@ public class LawsProblemLibraryController extends JeroController addProblemGB(@Validated @RequestBody LawsProblemLibrary lawsProblemLibrary) { lawsProblemLibrary.setType("1"); lawsProblemLibraryService.addProblem(lawsProblemLibrary); - return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + return Result.OK(ResultCommon.OK); } @AutoLog(value = "海外标准-提出问题") @@ -74,7 +74,7 @@ public class LawsProblemLibraryController extends JeroController addProblemFB(@Validated @RequestBody LawsProblemLibrary lawsProblemLibrary) { lawsProblemLibrary.setType("2"); lawsProblemLibraryService.addProblem(lawsProblemLibrary); - return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + return Result.OK(ResultCommon.OK); } @AutoLog(value = "企业标准-提出问题") @@ -83,7 +83,7 @@ public class LawsProblemLibraryController extends JeroController addProblemQB(@Validated @RequestBody LawsProblemLibrary lawsProblemLibrary) { lawsProblemLibrary.setType("3"); lawsProblemLibraryService.addProblem(lawsProblemLibrary); - return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + return Result.OK(ResultCommon.OK); } @AutoLog(value = "问答库-回答问题") @@ -92,7 +92,7 @@ public class LawsProblemLibraryController extends JeroController addAnswer(@Validated @RequestBody LawsAnswerLibrary lawsAnswerLibrary) { lawsProblemLibraryService.addAnswer(lawsAnswerLibrary); - return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + return Result.OK(ResultCommon.OK); } @AutoLog(value = "问答库-通过id查询") @@ -114,7 +114,7 @@ public class LawsProblemLibraryController extends JeroController isTop(@RequestParam(name="id") String id) { lawsProblemLibraryService.isTop(id); - return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + return Result.OK(ResultCommon.OK); } } diff --git a/laws-modules/src/main/java/com/jero/modules/laws/standard/controller/LawsNewsFeedController.java b/laws-modules/src/main/java/com/jero/modules/laws/standard/controller/LawsNewsFeedController.java index 81c01a2f..ed6fe0de 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/standard/controller/LawsNewsFeedController.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/standard/controller/LawsNewsFeedController.java @@ -87,7 +87,7 @@ public class LawsNewsFeedController extends JeroController add(@Validated @RequestBody LawsContactManage lawsContactManage) { lawsContactManageService.add(lawsContactManage); - return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + return Result.OK(ResultCommon.OK); } /** @@ -96,7 +96,7 @@ public class LawsContactManageController extends JeroController edit(@Validated @RequestBody LawsContactManage lawsContactManage) { lawsContactManageService.editById(lawsContactManage); - return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + return Result.OK(ResultCommon.OK); } /** @@ -113,7 +113,7 @@ public class LawsContactManageController extends JeroController