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

This commit is contained in:
季圣华
2019-10-29 18:38:51 +08:00
parent da3032959e
commit e975b41428
2 changed files with 1 additions and 2 deletions

View File

@@ -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? "失败":"成功";

View File

@@ -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){