whycxzp
2022-07-20 72b951778db3b059908bd718acf22e11f880a680
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.whyc.controller;
 
import com.whyc.dto.Response;
import com.whyc.service.DocLogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
@RestController
@Api(tags = "日志管理")
@RequestMapping("docLog")
public class DocLogController {
    @Autowired
    private DocLogService service;
 
    @ApiOperation(value = "日志查询")
    @GetMapping("searchLog")
    public Response searchLog(@RequestParam int pageCurr, @RequestParam int pageSize){
        return service.searchLog(pageCurr,pageSize);
    }
}