|
@@ -31,10 +31,10 @@ import cn.com.qmth.examcloud.web.support.StatusResponse;
|
|
|
* @date 2018年5月22日
|
|
|
* @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
|
|
|
*/
|
|
|
-public final class ThirdPartyAccessInterceptor implements HandlerInterceptor {
|
|
|
+public final class EnterpriseAccessInterceptor implements HandlerInterceptor {
|
|
|
|
|
|
private static final ExamCloudLog LOG = ExamCloudLogFactory
|
|
|
- .getLog(ThirdPartyAccessInterceptor.class);
|
|
|
+ .getLog(EnterpriseAccessInterceptor.class);
|
|
|
|
|
|
/**
|
|
|
* 接口日志
|
|
@@ -128,7 +128,8 @@ public final class ThirdPartyAccessInterceptor implements HandlerInterceptor {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
- request.setAttribute("$rootOrgId", rootOrgIdLong);
|
|
|
+ request.setAttribute(HttpServletRequestAttribute.$_ENTERPRISE_ROOT_ORG_ID.name(),
|
|
|
+ rootOrgIdLong);
|
|
|
|
|
|
String key = "$_A_:" + rootOrgId + "_" + appId;
|
|
|
|