Authored by 杨延青
Committed by yyq

Update risk-management.js

... ... @@ -54,11 +54,6 @@ module.exports = () => {
let risks = _.get(req.app.locals.pc, 'json.risk', []);
let router = {};
risks = [{
route: '/kids-brands/',
requests: 5
}];
logger.debug(`risk => risks: ${JSON.stringify(risks)}, path: ${path}, ip: ${ip}`); // eslint-disable-line
if (_.isEmpty(path) || _.isEmpty(risks) || IP_WHITE_LIST.indexOf(ip) > -1) {
return next();
... ...