|
@@ -19,6 +19,7 @@ import cn.com.qmth.examcloud.support.cache.bean.RootOrgPrivilegesCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.SmsAssemblyCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.SmsAssemblyCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.StudentCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.StudentCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.SysPropertyCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.SysPropertyCacheBean;
|
|
|
|
+import cn.com.qmth.examcloud.support.cache.bean.ThirdPartyAccessCacheBean;
|
|
import cn.com.qmth.examcloud.web.cache.ObjectRedisCacheProcessor;
|
|
import cn.com.qmth.examcloud.web.cache.ObjectRedisCacheProcessor;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -286,4 +287,18 @@ public class CacheHelper {
|
|
"cn.com.qmth.examcloud.core.basic.service.cache.OrgPropertyCache");
|
|
"cn.com.qmth.examcloud.core.basic.service.cache.OrgPropertyCache");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 第三方接入信息
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @param rootOrgId
|
|
|
|
+ * @param appId
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public static ThirdPartyAccessCacheBean getThirdPartyAccess(Long rootOrgId, String appId) {
|
|
|
|
+ return ObjectRedisCacheProcessor.get("B_THIRD_PARTY_ACCESS:",
|
|
|
|
+ new Object[]{rootOrgId, appId}, ThirdPartyAccessCacheBean.class, "EC-CORE-BASIC",
|
|
|
|
+ "cn.com.qmth.examcloud.core.basic.service.cache.ThirdPartyAccessCache");
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|