Commit 08b88743 by 梁建民

user_id

parent bfe2b744
......@@ -272,6 +272,7 @@
//注入token
Util.setCookie('token', res.data.access_token, 1, cookieHostname);
Util.setCookie('user_id', res.data.user_id, 1, cookieHostname);
window.location.href = home_url + '/homes';
......@@ -307,6 +308,7 @@
//注入token
Util.setCookie('token', res.data.access_token, 1, cookieHostname);
Util.setCookie('user_id', res.data.user_id, 1, cookieHostname);
window.location.href = home_url + '/homes';
......
......@@ -271,6 +271,7 @@
//注入token
Util.setCookie('token', res.data.access_token, 1, cookieHostname);
Util.setCookie('user_id', res.data.user_id, 1, cookieHostname);
window.location.href = home_url + '/homes';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment