| | |
| | | import com.ruoyi.system.query.SysOperLogQuery; |
| | | import com.ruoyi.system.service.ISysOperLogService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | /** |
| | | * 分页查询操作日志 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('visitor:operation-log:view')") |
| | | @PostMapping("/page") |
| | | public AjaxResult page(@RequestBody(required = false) SysOperLogQuery request) |
| | | { |
| | |
| | | * 导出操作日志 |
| | | */ |
| | | @Log(title = "操作日志", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('visitor:operation-log:export')") |
| | | @PostMapping("/export") |
| | | public AjaxResult export(@RequestBody(required = false) SysOperLogQuery request) |
| | | { |