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
b4e983a2
authored
Jul 22, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/shiyu/icsales
parents
854f87ee
1d4d584c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
dist/js/person/login.js
dist/js/person/register.js
dist/js/person/login.js
View file @
b4e983a2
...
...
@@ -302,6 +302,7 @@
IcController
.
getData
(
apis
.
authlogin
,
'POST'
,
data
.
field
,
function
(
res
)
{
if
(
res
.
err_code
===
0
)
{
//注入token
...
...
@@ -311,6 +312,8 @@
}
else
{
$
(
".error-text"
).
hide
();
layer
.
msg
(
res
.
err_msg
);
opt
.
isClick
=
false
;
...
...
dist/js/person/register.js
View file @
b4e983a2
...
...
@@ -270,7 +270,7 @@
if
(
res
.
err_code
===
0
)
{
//注入token
Util
.
setCookie
(
'token'
,
res
.
access_token
,
1
,
cookieHostname
);
Util
.
setCookie
(
'token'
,
res
.
data
.
access_token
,
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