diff --git a/src/main/java/com/lq/cms/web/sys/UserController.java b/src/main/java/com/lq/cms/web/sys/UserController.java index ac133ed..7bd4760 100755 --- a/src/main/java/com/lq/cms/web/sys/UserController.java +++ b/src/main/java/com/lq/cms/web/sys/UserController.java @@ -119,7 +119,6 @@ public class UserController { ajaxResult.setSuccess(false); ajaxResult.setMsg("更新失败"); } - return ajaxResult; } diff --git a/src/main/java/com/lq/code/interceptor/SpringmvcInterceptor.java b/src/main/java/com/lq/code/interceptor/SpringmvcInterceptor.java index 3224d4e..afa89eb 100755 --- a/src/main/java/com/lq/code/interceptor/SpringmvcInterceptor.java +++ b/src/main/java/com/lq/code/interceptor/SpringmvcInterceptor.java @@ -1,5 +1,6 @@ package com.lq.code.interceptor; +import com.lq.cms.emun.StatusTypeEnum; import com.lq.code.util.CusAccessObjectUtil; import com.lq.dao.SysLogDao; import com.lq.entity.SysLog; @@ -29,6 +30,7 @@ public class SpringmvcInterceptor implements HandlerInterceptor { log.setUserIp(ip); log.setUrl(request.getRequestURI()); log.setCreateTime(new Date()); + log.setStatus(StatusTypeEnum.STATUS_ACTIVITY_YES.getValue()); sysLogDao.save(log); return true; }