Commit dca0c16e by 宋毅

tj

parent 9a692ccc
...@@ -9,7 +9,9 @@ class MetaCtl extends CtlBase { ...@@ -9,7 +9,9 @@ class MetaCtl extends CtlBase {
} }
//根据查询参数来确定当前会话对应的应用 //根据查询参数来确定当前会话对应的应用
async getAppInfo(req) { async getAppInfo(req) {
try {
var acckapp = await this.cacheManager["ApiAccessKeyCache"].cache(settings.appKey, null, 3600); var acckapp = await this.cacheManager["ApiAccessKeyCache"].cache(settings.appKey, null, 3600);
console.log(acckapp, "acckapp.......................");
if (acckapp) { if (acckapp) {
var rs = await this.getRsConfig2(null, req); var rs = await this.getRsConfig2(null, req);
var bcom = await this.getBaseComp(); var bcom = await this.getBaseComp();
...@@ -19,6 +21,9 @@ class MetaCtl extends CtlBase { ...@@ -19,6 +21,9 @@ class MetaCtl extends CtlBase {
} else { } else {
return null; return null;
} }
} catch (error) {
console.log(error.stack, "getAppInfo..................error....");
}
} }
/** /**
* 获取页面基础组件 * 获取页面基础组件
......
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