Commit e6c499e3 authored by 肖爱江's avatar 肖爱江

1

parent 19ad07b4
Pipeline #33505 passed with stage
in 4 seconds
...@@ -42,7 +42,8 @@ class ResponseController extends Controller { ...@@ -42,7 +42,8 @@ class ResponseController extends Controller {
if (app_user_id) { if (app_user_id) {
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 : {};
if (ret_appuid.oid === user_sid) { this.logger.info(`user: ${user_sid}, appuid: ${app_user_id}, ret: ${JSON.stringify(ret_appuid)}`);
if (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;
......
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