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

1

parent 4993069d
Pipeline #33507 passed with stage
in 4 seconds
...@@ -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;
......
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