浏览代码

Update UmsAdminServiceImpl.java

macro 6 年之前
父节点
当前提交
edf3dd6535
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mall-admin/src/main/java/com/macro/mall/service/impl/UmsAdminServiceImpl.java

+ 1 - 1
mall-admin/src/main/java/com/macro/mall/service/impl/UmsAdminServiceImpl.java

@@ -109,7 +109,7 @@ public class UmsAdminServiceImpl implements UmsAdminService {
             UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken(userDetails, null, userDetails.getAuthorities());
             SecurityContextHolder.getContext().setAuthentication(authentication);
             token = jwtTokenUtil.generateToken(userDetails);
-            updateLoginTimeByUsername(username);
+//            updateLoginTimeByUsername(username);
             insertLoginLog(username);
         } catch (AuthenticationException e) {
             LOGGER.warn("登录异常:{}", e.getMessage());