Authored by weiqingting

提交

... ... @@ -102,12 +102,6 @@ module.exports = function (apiCofig) {
obj[method].call(obj, guid, req, res);
}
};
ContRegisters.routers.forEach(function (router) {
var ROU = Router.route([router.url]);
var args = FilterRegisters.use(router.url, router.method).
concat(KLH(ContRegisters, "emit", router.guid));
ROU[router.method].apply(ROU, args);
});
/*路由重复校验*/
var checkUsedRouter={};
... ...
... ... @@ -102,12 +102,12 @@ module.exports = function (apiCofig) {
obj[method].call(obj, guid, req, res);
}
};
ContRegisters.routers.forEach(function (router) {
var ROU = Router.route([router.url]);
var args = FilterRegisters.use(router.url, router.method).
concat(KLH(ContRegisters, "emit", router.guid));
ROU[router.method].apply(ROU, args);
});
// ContRegisters.routers.forEach(function (router) {
// var ROU = Router.route([router.url]);
// var args = FilterRegisters.use(router.url, router.method).
// concat(KLH(ContRegisters, "emit", router.guid));
// ROU[router.method].apply(ROU, args);
// });
/*路由重复校验*/
var checkUsedRouter={};
... ...