摘要:
1.在登录页面添加 <script> $(function () { if (top != window) { layer.msg("登录失效", {icon: 5}); top.location.href = window.location.href; } })</script>2.在layui弹 阅读全文
posted @ 2020-06-09 15:16
伏沙金
阅读(1570)
评论(0)
推荐(0)
摘要:
一.思路 1.先导入相关配置(使用spring security校验之后,登录拦截的配置) 2.创建一个 WebSecurityConfig 继承 WebSecurityConfigurerAdapter ,重写 configure(HttpSecurity http) 配置表单登录和登出路径和跳转 阅读全文
posted @ 2020-06-09 15:04
伏沙金
阅读(356)
评论(0)
推荐(0)

浙公网安备 33010602011771号