lrf hai 1 ano
pai
achega
47df9fda5a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/controller/yunjiuye.js

+ 2 - 2
app/controller/yunjiuye.js

@@ -14,8 +14,8 @@ class YunjiuyeController extends Controller {
     if (!params) throw new BusinessError(ErrorCode.BADPARAM, '缺少登录参数');
     if (!params) throw new BusinessError(ErrorCode.BADPARAM, '缺少登录参数');
     params = this.service.decryptData(params);
     params = this.service.decryptData(params);
     if (!params) throw new BusinessError(ErrorCode.BADPARAM, '参数解析失败');
     if (!params) throw new BusinessError(ErrorCode.BADPARAM, '参数解析失败');
-    const { code, org, type, origin } = params;
-    this.service.getDomain(origin);
+    const { code, org, type, logoutUrl } = params;
+    this.service.getDomain(logoutUrl);
     const res = await this.service.checkUserIsConnect(params);
     const res = await this.service.checkUserIsConnect(params);
     const { toBindPage, toDealTokenPage } = this.app.config.yunjiuye;
     const { toBindPage, toDealTokenPage } = this.app.config.yunjiuye;
     // 没关联,转到登录页面
     // 没关联,转到登录页面