liding
3 天以前 7f9e375391e30fd3c367cb5a080a609a6e25e524
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.zbkj.admin.controller;
 
import com.zbkj.common.annotation.Loggable;
import com.zbkj.common.page.CommonPage;
import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.request.SystemLogRequest;
import com.zbkj.common.response.CommonResult;
import com.zbkj.common.response.SystemLogResponse;
import com.zbkj.service.service.SystemLogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
@RestController
@RequestMapping("/api/admin/system/log")
@Api(tags = "系统日志")
public class SystemLogController {
 
    @Autowired
    private SystemLogService systemLogService;
 
    /**
     * @Description:系统日志分页列表
     * @author:chenbing
     * @date 2025/7/4 10:35
     */
    @Loggable(value = "系统日志分页列表")
    @ApiOperation(value = "系统日志分页列表")
    @GetMapping(value = "/page")
    public CommonResult<CommonPage<SystemLogResponse>> getList(SystemLogRequest request, PageParamRequest pageParamRequest) {
        return CommonResult.success(CommonPage.restPage(systemLogService.getList(request, pageParamRequest)));
    }
 
}