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
9 years ago
Commit
7fff6e684299d3186711055156e92ebd179c6c68
1 parent
6f9123c9
提交
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
server/interfaces/common.login.js
server/interfaces/common.login.js
View file @
7fff6e6
...
...
@@ -118,6 +118,7 @@ module.exports={
if
(
!
error4
)
{
var
cookie
=
httpResponse4
.
caseless
.
dict
[
"set-cookie"
];
if
(
cookie
&&
cookie
.
length
>
0
)
{
console
.
log
(
"登录成功!"
);
req
.
session
.
gray
=
cookie
[
0
];
}
result
=
{
code
:
200
,
message
:
"登录成功"
}
...
...
Please
register
or
login
to post a comment