You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
package com.ruoyi.project.monitor.controller; |
|
|
|
import java.util.List; |
|
import org.springframework.beans.factory.annotation.Autowired; |
|
import org.springframework.security.access.prepost.PreAuthorize; |
|
import org.springframework.web.bind.annotation.GetMapping; |
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
import org.springframework.web.bind.annotation.RestController; |
|
import com.ruoyi.framework.web.controller.BaseController; |
|
import com.ruoyi.framework.web.page.TableDataInfo; |
|
import com.ruoyi.project.monitor.domain.SysOperLog; |
|
import com.ruoyi.project.monitor.service.ISysOperLogService; |
|
|
|
/** |
|
* 操作日志记录 |
|
* |
|
* @author ruoyi |
|
*/ |
|
@RestController |
|
@RequestMapping("/monitor/operlog") |
|
public class SysOperlogController extends BaseController |
|
{ |
|
@Autowired |
|
private ISysOperLogService operLogService; |
|
|
|
@PreAuthorize("@ss.hasPermi('monitor:operlog:list')") |
|
@GetMapping("/list") |
|
public TableDataInfo list(SysOperLog operLog) |
|
{ |
|
startPage(); |
|
List<SysOperLog> list = operLogService.selectOperLogList(operLog); |
|
return getDataTable(list); |
|
} |
|
}
|
|
|