...
|
...
|
@@ -55,15 +55,16 @@ class Auth { |
|
|
if (data) {
|
|
|
let uidCookie = `${data.profile_name}::${data.uid}::${data.vip_info.title}::${token}`;
|
|
|
|
|
|
req.session._TOKEN = token;
|
|
|
req.session._LOGIN_UID = uid;
|
|
|
|
|
|
res.cookie('_UID', uidCookie, {
|
|
|
domain: 'yohobuy.com'
|
|
|
});
|
|
|
res.cookie('_TOKEN', token, {
|
|
|
domain: 'yohobuy.com'
|
|
|
});
|
|
|
}
|
|
|
req.session._TOKEN = token;
|
|
|
req.session._LOGIN_UID = uid;
|
|
|
res.cookie('_TOKEN', token, {
|
|
|
domain: 'yohobuy.com'
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
}
|
...
|
...
|
|