清空token
This commit is contained in:
@@ -77,6 +77,7 @@ $("#login_btn").on("click", function () {
|
||||
// 用户登录成功的TOKEN
|
||||
var data = resData.data;
|
||||
localStorage.setItem("user_token", data.token);
|
||||
localStorage.setItem("user_token_add_time", new Date().getTime());
|
||||
$.toast(resData.message);
|
||||
if (data.firstLogin) {
|
||||
// 显示设置密码页面
|
||||
|
||||
Reference in New Issue
Block a user