Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
郭成尧
8 years ago
Commit
9633b4ded7ec91816311cefee6be267b21aab755
1 parent
194497a4
'set-cookie-time-24h'
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
apps/3party/controllers/ads.js
apps/3party/controllers/ads.js
View file @
9633b4d
...
...
@@ -9,7 +9,8 @@ exports.index = (req, res) => {
let
quhUnion
=
crypto
.
encryption
(
''
,
decodeURI
(
req
.
query
.
_QYH_UNION
));
res
.
cookie
(
'_QYH_UNION'
,
quhUnion
,
{
domain
:
'yohobuy.com'
domain
:
'yohobuy.com'
,
expires
:
new
Date
(
Date
.
now
()
+
24
*
60
*
60
*
1000
)
});
return
res
.
redirect
(
req
.
query
.
target
||
helpers
.
urlFormat
(
'/'
));
...
...
Please
register
or
login
to post a comment