Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-shop-fe2
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
weiqingting
2016-06-17 22:30:47 +0800
Commit
e56e81c26c25b73e3757df8f1475386824d2c6d4
1 parent
df576bcd
提交
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
code/apps/common/interfaces/login.js
server/interfaces/common.login.js
code/apps/common/interfaces/login.js
View file @
e56e81c
...
...
@@ -114,6 +114,8 @@ module.exports = {
req
.
session
.
gray
=
cookie
[
0
];
result
=
{
code
:
200
,
message
:
"登录成功"
};
}
console
.
log
(
result
);
}
else
{
result
=
{
code
:
400
,
message
:
"该用户没有店铺"
};
}
...
...
server/interfaces/common.login.js
View file @
e56e81c
...
...
@@ -114,6 +114,8 @@ module.exports = {
req
.
session
.
gray
=
cookie
[
0
];
result
=
{
code
:
200
,
message
:
"登录成功"
};
}
console
.
log
(
result
);
}
else
{
result
=
{
code
:
400
,
message
:
"该用户没有店铺"
};
}
...
...
Please
register
or
login
to post a comment