From 144f0a559b9a2f8e7f10dcb1d84dcc828df4a5ec Mon Sep 17 00:00:00 2001 From: liao Date: Mon, 13 Nov 2023 14:22:14 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=BF=94=E5=9B=9E=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/LawsDataCenterFileController.java | 8 ++++---- .../controller/LawsProblemLibraryController.java | 16 ++++++++-------- .../controller/LawsNewsFeedController.java | 8 ++++---- .../controller/LawsContactManageController.java | 8 ++++---- 4 files changed, 20 insertions(+), 20 deletions(-) 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