优化日志模块,不往备注里面写入内容
This commit is contained in:
@@ -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 {
|
|||||||
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){
|
||||||
|
|||||||
Reference in New Issue
Block a user