Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
7 years ago
Commit
b2996304de65b236f14b110f2c4a72ca623a1b3f
1 parent
f3d817b3
fix service error
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/passport/models/login-service.js
apps/passport/models/login-service.js
View file @
b299630
...
...
@@ -91,8 +91,8 @@ module.exports = class extends global.yoho.BaseModel {
let
uidCookie
=
`
$
{
encodeURIComponent
(
data
.
profile_name
)}
::
$
{
encryptionUid
}
::
$
{
data
.
vip_info
.
title
}
::
$
{
saltedToken
}
`
;
let
isStudent
=
data
.
vip_info
.
is_student
||
0
;
`
$
{
encodeURIComponent
(
data
.
profile_name
)}
::
$
{
encryptionUid
}
::
$
{
_
.
get
(
data
,
'vip_info.title'
,
''
)}
::
$
{
saltedToken
}
`
;
// eslint-disable-line
let
isStudent
=
_
.
get
(
data
,
'vip_info.is_student'
)
||
0
;
res
.
cookie
(
'_UID'
,
uidCookie
,
{
domain
:
config
.
cookieDomain
...
...
Please
register
or
login
to post a comment