From ab177dab754e143869c3f01129bb4efcd4844107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E5=BA=86=E5=90=89?= <51312040@qq.com> Date: Thu, 27 Jan 2022 08:47:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ebtp/common/log/service/impl/OperationLogServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/log/service/impl/OperationLogServiceImpl.java b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/log/service/impl/OperationLogServiceImpl.java index 447152a..7efa03a 100644 --- a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/log/service/impl/OperationLogServiceImpl.java +++ b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/log/service/impl/OperationLogServiceImpl.java @@ -61,8 +61,8 @@ public class OperationLogServiceImpl implements OperationLogService { operationLog.setMethod(element.getMethodName()); } BaseCacheUser user = cacheUserService.getCacheUser(); - operationLog.setUser(user); if (null != user) { + operationLog.setUser(user.setAuthorityList(null)); HttpServletRequest request = HttpContextUtils.getHttpServletRequest(); if (request != null) { // 提取token头信息 ;