打印日志

This commit is contained in:
Guoqs
2024-06-13 14:43:01 +08:00
parent 15cf6ccc6e
commit fe87fa038c
2 changed files with 3 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ public class UserUtils {
}
String deptId = String.valueOf(dept.getDeptId());
resultVO.setDeptId(deptId);
log.info("用户id:{}, 所属部门信息:{}", user.getUserId(), JSON.toJSONString(dept));
// log.info("用户id:{}, 所属部门信息:{}", user.getUserId(), JSON.toJSONString(dept));
// 登录用户角色
Long parentId = dept.getParentId();
resultVO.setParentId(String.valueOf(parentId));
@@ -87,6 +87,7 @@ public class UserUtils {
stationDeptIds.add(deptId);
resultVO.setStationDeptIds(stationDeptIds);
}
log.info("用户id:{}, AuthorizedDeptVO:{}", user.getUserId(), JSON.toJSONString(resultVO));
return resultVO;
}