摘要:
一、定义一个BaseController public class BaseController { public HttpServletRequest getHttpServletRequest(){ ServletRequestAttributes requestAttributes = (Se 阅读全文
posted @ 2022-06-20 20:50
yangxiaohui227
阅读(241)
评论(0)
推荐(0)
摘要:
1.添加依赖<dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-core</artifactId></dependency>2.代码演示: public class Test 阅读全文
posted @ 2022-06-20 20:46
yangxiaohui227
阅读(399)
评论(0)
推荐(0)

浙公网安备 33010602011771号