整理代码

pull/3/head
fengshuonan 2021-01-10 10:03:18 +08:00
parent 4d86b36cf6
commit e73b2a4b70
2 changed files with 8 additions and 10 deletions

View File

@ -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")

View File

@ -78,7 +78,8 @@ public interface UserServiceApi {
/**
* 线
*
* @return
* @author fengshuonan
* @date 2021/1/10 9:56
*/
List<LoginUser> onlineUserList();