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
ef6b6750
Commit
ef6b6750
authored
Aug 17, 2021
by
肖爱江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4993069d
Pipeline
#33507
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
response.js
app/controller/response.js
+1
-1
No files found.
app/controller/response.js
View file @
ef6b6750
...
@@ -43,7 +43,7 @@ class ResponseController extends Controller {
...
@@ -43,7 +43,7 @@ class ResponseController extends Controller {
const
result
=
await
ctx
.
helper
.
send_request
(
this
.
config
.
USER_CENTER_API_URI
+
'/v1/appusers/'
+
app_user_id
,
{},
{
method
:
'GET'
,
dataType
:
'json'
});
const
result
=
await
ctx
.
helper
.
send_request
(
this
.
config
.
USER_CENTER_API_URI
+
'/v1/appusers/'
+
app_user_id
,
{},
{
method
:
'GET'
,
dataType
:
'json'
});
const
ret_appuid
=
result
.
status
===
200
?
result
.
data
:
{};
const
ret_appuid
=
result
.
status
===
200
?
result
.
data
:
{};
this
.
logger
.
info
(
`user:
${
user_sid
}
, appuid:
${
app_user_id
}
, ret:
${
JSON
.
stringify
(
ret_appuid
)}
`
);
this
.
logger
.
info
(
`user:
${
user_sid
}
, appuid:
${
app_user_id
}
, ret:
${
JSON
.
stringify
(
ret_appuid
)}
`
);
if
(
ret_appuid
.
oid
==
user_sid
)
{
if
(
this
.
ctx
.
helper
.
encodeUserSid
(
ret_appuid
.
oid
)
==
user_sid
)
{
if
(
token
&&
user_id
&&
app_user_id
&&
device_id
&&
device_login_id
)
{
if
(
token
&&
user_id
&&
app_user_id
&&
device_id
&&
device_login_id
)
{
ctx
.
redirect
(
target_url2
);
ctx
.
redirect
(
target_url2
);
return
;
return
;
...
...
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