Commit c11098fb authored by 谢永靖's avatar 谢永靖

1

parent 61378267
Pipeline #36762 passed with stage
in 22 seconds
...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment