Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
方斌
51business
Commits
070b144d
Commit
070b144d
authored
Aug 17, 2021
by
肖爱江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ef6b6750
Pipeline
#33595
passed with stage
in 3 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
response.js
app/controller/response.js
+3
-3
No files found.
app/controller/response.js
View file @
070b144d
...
@@ -119,10 +119,10 @@ class ResponseController extends Controller {
...
@@ -119,10 +119,10 @@ class ResponseController extends Controller {
const
date
=
new
Date
();
const
date
=
new
Date
();
for
(
let
key
in
node_user_center_login_ret
)
{
for
(
let
key
in
node_user_center_login_ret
)
{
const
value
=
node_user_center_login_ret
[
key
];
const
value
=
node_user_center_login_ret
[
key
];
const
exist_value
=
ctx
.
cookies
.
get
(
key
,
{
signed
:
false
});
//
const exist_value = ctx.cookies.get(key, { signed: false });
if
(
!
exist_value
)
{
//
if (!exist_value) {
ctx
.
cookies
.
set
(
key
,
value
,
{
httpOnly
:
false
,
signed
:
false
,
path
:
'/'
,
overwrite
:
true
});
ctx
.
cookies
.
set
(
key
,
value
,
{
httpOnly
:
false
,
signed
:
false
,
path
:
'/'
,
overwrite
:
true
});
}
//
}
}
}
ctx
.
redirect
(
target_url2
);
ctx
.
redirect
(
target_url2
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment