|
@@ -1,6 +1,13 @@
|
|
|
package com.ruoyi.web.controller.monitor;
|
|
|
|
|
|
-import java.util.List;
|
|
|
+import com.ruoyi.common.annotation.Log;
|
|
|
+import com.ruoyi.common.core.controller.BaseController;
|
|
|
+import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
+import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
+import com.ruoyi.common.enums.BusinessType;
|
|
|
+import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
+import com.ruoyi.system.domain.SysOperLog;
|
|
|
+import com.ruoyi.system.service.ISysOperLogService;
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
@@ -10,14 +17,8 @@ import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
-import com.ruoyi.common.annotation.Log;
|
|
|
-import com.ruoyi.common.core.controller.BaseController;
|
|
|
-import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
-import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
-import com.ruoyi.common.enums.BusinessType;
|
|
|
-import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
-import com.ruoyi.system.domain.SysOperLog;
|
|
|
-import com.ruoyi.system.service.ISysOperLogService;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 操作日志记录
|
|
@@ -61,6 +62,7 @@ public class SysOperlogController extends BaseController
|
|
|
return util.exportExcel(list, "操作日志");
|
|
|
}
|
|
|
|
|
|
+ @Log(title = "操作日志", businessType = BusinessType.DELETE)
|
|
|
@RequiresPermissions("monitor:operlog:remove")
|
|
|
@PostMapping("/remove")
|
|
|
@ResponseBody
|