From e73b2a4b700f994644dbdaae6221a97733f0c32b Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Sun, 10 Jan 2021 10:03:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/controller/LogManagerController.java | 15 ++++++--------- .../roses/kernel/system/UserServiceApi.java | 3 ++- 2 files changed, 8 insertions(+), 10 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 6d9eec362..0f775fcd7 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 @@ -1,19 +1,18 @@ package cn.stylefeng.roses.kernel.log.modular.manage.controller; -import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult; import cn.stylefeng.roses.kernel.log.api.LogManagerApi; import cn.stylefeng.roses.kernel.log.api.pojo.manage.LogManagerParam; -import cn.stylefeng.roses.kernel.log.api.pojo.record.LogRecordDTO; import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource; import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource; import cn.stylefeng.roses.kernel.resource.api.annotation.PostResource; import cn.stylefeng.roses.kernel.rule.pojo.response.ResponseData; import cn.stylefeng.roses.kernel.rule.pojo.response.SuccessResponseData; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; + /** * 日志管理控制器 * @@ -27,7 +26,7 @@ public class LogManagerController { /** * 日志管理api */ - @Autowired + @Resource private LogManagerApi logManagerApi; /** @@ -40,13 +39,11 @@ public class LogManagerController { public ResponseData list(@RequestBody LogManagerParam logManagerParam) { return new SuccessResponseData(logManagerApi.queryLogList(logManagerParam)); } - + /** * 查询日志 - * - * @param - * @return - * @author TSQ + * + * @author tengshuqi * @date 2021/1/8 17:36 */ @GetResource(name = "查询日志列表", path = "/logManager/page") diff --git a/kernel-s-system/system-api/src/main/java/cn/stylefeng/roses/kernel/system/UserServiceApi.java b/kernel-s-system/system-api/src/main/java/cn/stylefeng/roses/kernel/system/UserServiceApi.java index e919661c8..16571a4eb 100644 --- a/kernel-s-system/system-api/src/main/java/cn/stylefeng/roses/kernel/system/UserServiceApi.java +++ b/kernel-s-system/system-api/src/main/java/cn/stylefeng/roses/kernel/system/UserServiceApi.java @@ -78,7 +78,8 @@ public interface UserServiceApi { /** * 获取在线用户列表 * - * @return + * @author fengshuonan + * @date 2021/1/10 9:56 */ List onlineUserList();