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") private Response searchLog(@RequestParam int pageCurr, @RequestParam int pageSize){ return service.searchLog(pageCurr,pageSize); } }