...
|
...
|
@@ -15,8 +15,8 @@ module.exports = async({user}, next) => { |
|
|
let ipBlackRes = result[0];
|
|
|
let ipLimitRes = result[1];
|
|
|
|
|
|
logger.debug('ip==>', ipBlackKey, ipBlackRes);
|
|
|
logger.debug('ip==>', ipLimitKey, ipLimitRes);
|
|
|
logger.debug('ip==>%s value=%d', ipBlackKey, ipBlackRes || 0);
|
|
|
logger.debug('ip==>%s value=%d', ipLimitKey, ipLimitRes || 0);
|
|
|
|
|
|
if ((ipBlackRes && +ipBlackRes > 0) || (ipLimitRes && +ipLimitRes > 0)) {
|
|
|
return;
|
...
|
...
|
|