Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4ab601da
authored
Jul 24, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/shiyu/icsales
parents
674156f9
08b88743
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
dist/js/person/login.js
dist/js/person/register.js
dist/js/person/login.js
View file @
4ab601da
...
...
@@ -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'
;
...
...
dist/js/person/register.js
View file @
4ab601da
...
...
@@ -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'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment