添加spring security

This commit is contained in:
2020-07-15 19:05:21 +08:00
parent 852c3b2b61
commit 8b04c70a07
11 changed files with 416 additions and 98 deletions
+1 -7
View File
@@ -40,7 +40,7 @@ function loginOut() {
console.log(data);
if(data.flag){
$('#userlogin').html('');
$('#userlogin').html('<a href="javascript:void(0);" onclick="loginmodel(this)" id="loginmodel">登录 & 注册</a>');
$('#userlogin').html('<a href="/login" id="loginmodel">登录 & 注册</a>');
window.alert(username + data.msg);
username = null;
}else{
@@ -52,9 +52,3 @@ function loginOut() {
}
function loginmodel() {
$('.ui.modal.login')
.modal('show')
;
}