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
c11098fb
Commit
c11098fb
authored
Apr 21, 2022
by
谢永靖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
61378267
Pipeline
#36762
passed with stage
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
response.js
app/controller/response.js
+5
-1
No files found.
app/controller/response.js
View file @
c11098fb
...
@@ -15,6 +15,7 @@ class ResponseController extends Controller {
...
@@ -15,6 +15,7 @@ class ResponseController extends Controller {
target_url
:
{
type
:
'string'
,
required
:
true
},
target_url
:
{
type
:
'string'
,
required
:
true
},
channel_id
:
{
type
:
'string'
,
required
:
true
},
channel_id
:
{
type
:
'string'
,
required
:
true
},
auth_token
:
{
type
:
'string'
,
required
:
false
},
auth_token
:
{
type
:
'string'
,
required
:
false
},
user_sid
:
{
type
:
'string'
,
required
:
false
},
};
};
ctx
.
validate
(
rule
,
input_params
);
ctx
.
validate
(
rule
,
input_params
);
...
@@ -37,7 +38,10 @@ class ResponseController extends Controller {
...
@@ -37,7 +38,10 @@ class ResponseController extends Controller {
ctx
.
logger
.
info
(
'target_user--'
+
JSON
.
stringify
({
target_cookies_user
:
{
token
,
user_id
,
app_user_id
,
device_id
,
device_login_id
}
}));
ctx
.
logger
.
info
(
'target_user--'
+
JSON
.
stringify
({
target_cookies_user
:
{
token
,
user_id
,
app_user_id
,
device_id
,
device_login_id
}
}));
const
user_sid
=
ctx
.
cookies
.
get
(
'jianbing_customer_id'
,
{
signed
:
false
});
let
user_sid
=
ctx
.
cookies
.
get
(
'jianbing_customer_id'
,
{
signed
:
false
});
if
(
!
user_sid
&&
input_params
.
user_sid
)
{
user_sid
=
input_params
.
user_sid
;
}
// 判断user_sid 和 app_user_id
// 判断user_sid 和 app_user_id
if
(
app_user_id
)
{
if
(
app_user_id
)
{
...
...
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