摘要:
文件上传时,tomcat报错org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.io.IOException 阅读全文
posted @ 2020-06-07 21:31
会偷袭的猫
阅读(8648)
评论(1)
推荐(0)
摘要:
在Spring框架里面,可以通过以下几种方式获取到当前登录用户的详细信息: 1. 在Bean中获取用户信息 Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); if (!(au 阅读全文
posted @ 2020-06-07 11:04
会偷袭的猫
阅读(15279)
评论(0)
推荐(2)