Commit e975b414 authored by 季圣华's avatar 季圣华
Browse files

优化日志模块,不往备注里面写入内容

parent da303295
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
pageList: initPageNum, pageList: initPageNum,
columns: [[ columns: [[
{title: '操作模块', field: 'operation', width: 120}, {title: '操作模块', field: 'operation', width: 120},
{title: '操作详情', field: 'remark', width: 350}, {title: '操作详情', field: 'contentdetails', width: 350},
{title: '操作人员', field: 'username', width: 100, align: "center"}, {title: '操作人员', field: 'username', width: 100, align: "center"},
{title: '操作状态',field: 'status',width:80,align:"center",formatter:function(value){ {title: '操作状态',field: 'status',width:80,align:"center",formatter:function(value){
return value? "失败":"成功"; return value? "失败":"成功";
......
...@@ -206,7 +206,6 @@ public class LogService { ...@@ -206,7 +206,6 @@ public class LogService {
Byte status = 0; Byte status = 0;
log.setStatus(status); log.setStatus(status);
log.setContentdetails(type + getModule(apiName)); log.setContentdetails(type + getModule(apiName));
log.setRemark(type + getModule(apiName));
try{ try{
logMapper.insertSelective(log); logMapper.insertSelective(log);
}catch(Exception e){ }catch(Exception e){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment