|
@@ -14,8 +14,8 @@ class YunjiuyeController extends Controller {
|
|
|
if (!params) throw new BusinessError(ErrorCode.BADPARAM, '缺少登录参数');
|
|
|
params = this.service.decryptData(params);
|
|
|
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 { toBindPage, toDealTokenPage } = this.app.config.yunjiuye;
|
|
|
|