Commit 38116a96 by 宋毅

tj

parent b0ed3fb5
...@@ -11,7 +11,6 @@ class MetaCtl extends CtlBase { ...@@ -11,7 +11,6 @@ class MetaCtl extends CtlBase {
async getAppInfo(req) { async getAppInfo(req) {
try { 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();
...@@ -336,8 +335,6 @@ class MetaCtl extends CtlBase { ...@@ -336,8 +335,6 @@ class MetaCtl extends CtlBase {
return system.getResultSuccess(tmp); return system.getResultSuccess(tmp);
} }
async getRouteConfigWithoutProduct(q, req) { async getRouteConfigWithoutProduct(q, req) {
console.log("...............req.hostname.................................................................");
console.log(req.hostname);
var cfg = await this.service.getUiConfig(settings.wxconfig.appId); var cfg = await this.service.getUiConfig(settings.wxconfig.appId);
//获取当前登录人的角色,进而获取权限,进而合并工具栏目 //获取当前登录人的角色,进而获取权限,进而合并工具栏目
var tmp = {}; var tmp = {};
......
...@@ -22,7 +22,6 @@ module.exports = function (app) { ...@@ -22,7 +22,6 @@ module.exports = function (app) {
//TODO:处理新购 //TODO:处理新购
}); });
app.get("/", async function (req, res) { app.get("/", async function (req, res) {
console.log(req.hostname, "hostname.............");
try { try {
var appinfo = await metaCtl.getAppInfo(req); var appinfo = await metaCtl.getAppInfo(req);
if (!appinfo) { if (!appinfo) {
......
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