From 66bcb813cf9630fd82c81b9831b07eab481dd042 Mon Sep 17 00:00:00 2001 From: TSQ <1970742763@qq.com> Date: Sat, 9 Jan 2021 13:56:20 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=88=86=E9=A1=B5=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/controller/LogManagerController.java | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/kernel-d-log/log-business-manage/src/main/java/cn/stylefeng/roses/kernel/log/modular/manage/controller/LogManagerController.java b/kernel-d-log/log-business-manage/src/main/java/cn/stylefeng/roses/kernel/log/modular/manage/controller/LogManagerController.java index f33e6ea2c..db56926ad 100644 --- a/kernel-d-log/log-business-manage/src/main/java/cn/stylefeng/roses/kernel/log/modular/manage/controller/LogManagerController.java +++ b/kernel-d-log/log-business-manage/src/main/java/cn/stylefeng/roses/kernel/log/modular/manage/controller/LogManagerController.java @@ -38,8 +38,20 @@ public class LogManagerController { */ @GetResource(name = "查询日志列表", path = "/logManager/list") public ResponseData list(@RequestBody LogManagerParam logManagerParam) { - PageResult logRecordDtoPageResult = logManagerApi.queryLogListPage(logManagerParam); - return new SuccessResponseData(logRecordDtoPageResult); + return new SuccessResponseData(logManagerApi.queryLogList(logManagerParam)); + } + + /** + * 查询日志 + * + * @param + * @return + * @author TSQ + * @date 2021/1/8 17:36 + */ + @GetResource(name = "查询日志列表", path = "/logManager/page") + public ResponseData page(@RequestBody LogManagerParam logManagerParam) { + return new SuccessResponseData(logManagerApi.queryLogListPage(logManagerParam)); } /** From 29b2b33973a1a90211be1b9c0848727131521cf0 Mon Sep 17 00:00:00 2001 From: TSQ <1970742763@qq.com> Date: Sat, 9 Jan 2021 16:48:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=88=86=E9=A1=B5=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../log/modular/manage/controller/LogManagerController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-d-log/log-business-manage/src/main/java/cn/stylefeng/roses/kernel/log/modular/manage/controller/LogManagerController.java b/kernel-d-log/log-business-manage/src/main/java/cn/stylefeng/roses/kernel/log/modular/manage/controller/LogManagerController.java index db56926ad..6d9eec362 100644 --- a/kernel-d-log/log-business-manage/src/main/java/cn/stylefeng/roses/kernel/log/modular/manage/controller/LogManagerController.java +++ b/kernel-d-log/log-business-manage/src/main/java/cn/stylefeng/roses/kernel/log/modular/manage/controller/LogManagerController.java @@ -50,7 +50,7 @@ public class LogManagerController { * @date 2021/1/8 17:36 */ @GetResource(name = "查询日志列表", path = "/logManager/page") - public ResponseData page(@RequestBody LogManagerParam logManagerParam) { + public ResponseData page(LogManagerParam logManagerParam) { return new SuccessResponseData(logManagerApi.queryLogListPage(logManagerParam)); }