Commit 38116a96 by 宋毅

tj

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