优化日志模块,不往备注里面写入内容
This commit is contained in:
@@ -113,7 +113,7 @@
|
||||
pageList: initPageNum,
|
||||
columns: [[
|
||||
{title: '操作模块', field: 'operation', width: 120},
|
||||
{title: '操作详情', field: 'remark', width: 350},
|
||||
{title: '操作详情', field: 'contentdetails', width: 350},
|
||||
{title: '操作人员', field: 'username', width: 100, align: "center"},
|
||||
{title: '操作状态',field: 'status',width:80,align:"center",formatter:function(value){
|
||||
return value? "失败":"成功";
|
||||
|
||||
@@ -206,7 +206,6 @@ public class LogService {
|
||||
Byte status = 0;
|
||||
log.setStatus(status);
|
||||
log.setContentdetails(type + getModule(apiName));
|
||||
log.setRemark(type + getModule(apiName));
|
||||
try{
|
||||
logMapper.insertSelective(log);
|
||||
}catch(Exception e){
|
||||
|
||||
Reference in New Issue
Block a user