| | |
| | | } |
| | | |
| | | @GetMapping("/addAccessLog") |
| | | public AjaxResult addAccessLog(String title, int status) { |
| | | public AjaxResult addAccessLog(String title, Integer status) { |
| | | long start = System.currentTimeMillis(); |
| | | if (null == status || status < 0) status = 0; |
| | | |
| | | SysOperLog log = new SysOperLog(); |
| | | log.setTitle(title); |
| | | // 0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据 |
| | | // 0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据,14=未授权 |
| | | log.setBusinessType(0); |
| | | // ServletUtils.getRequest().getMethod() |
| | | log.setMethod("com.se.system.controller.IndexController.addAccessLog()"); |