class FileController {

    @GetMapping("/log")
    @ApiOperation("下载服务器日志")
    @PreAuthorize("hasAnyRole('ADMIN')")
    public void downloadLogFile(HttpServletResponse response) throws IOException {
        fileInfoService.downloadLogFile(response);
    }

}