bug修改

This commit is contained in:
lym
2024-09-04 12:54:28 +08:00
parent 05e68fd9bd
commit 193d3df939
8 changed files with 144 additions and 125 deletions
@@ -88,11 +88,6 @@ public class OperateLogAspect {
private Object around0(ProceedingJoinPoint joinPoint,
com.cf.imes.framework.operatelog.core.annotations.OperateLog operateLog,
Operation operation) throws Throwable {
// 目前,只有管理员,才记录操作日志!所以非管理员,直接调用,不进行记录
Integer userType = WebFrameworkUtils.getLoginUserType();
if (!Objects.equals(userType, UserTypeEnum.ADMIN.getValue())) {
return joinPoint.proceed();
}
// 记录开始时间
LocalDateTime startTime = LocalDateTime.now();