...
|
...
|
@@ -41,7 +41,7 @@ module.exports = (req, res, next) => { |
|
|
|
|
|
if (remoteIp &&
|
|
|
!_.get(req.app.locals, 'pc.sys.noLimiter') &&
|
|
|
_.includes(IP_WHITE_LIST, remoteIp)) { // 判断获取remoteIp成功,并且开关未关闭
|
|
|
!_.includes(IP_WHITE_LIST, remoteIp)) { // 判断获取remoteIp成功,并且开关未关闭
|
|
|
|
|
|
let key = `pc:limiter:${remoteIp}`;
|
|
|
|
...
|
...
|
|