Authored by 毕凯

Merge branch 'gray'

@@ -148,17 +148,17 @@ module.exports = { @@ -148,17 +148,17 @@ module.exports = {
148 } 148 }
149 }, 149 },
150 REQUEST_LIMIT: { 150 REQUEST_LIMIT: {
151 - // 10s 最多访问5次  
152 - 10: 10, 151 + // 10s 最多访问20次
  152 + 10: 20,
153 153
154 - // 30s 最多访问15次  
155 - 30: 20, 154 + // 30s 最多访问40次
  155 + 30: 40,
156 156
157 - // 60s 最多访问15次  
158 - 60: 30, 157 + // 60s 最多访问60次
  158 + 60: 60,
159 159
160 - // 100s 最多访问15次  
161 - 600: 100 160 + // 100s 最多访问200次
  161 + 600: 200
162 }, 162 },
163 superCapture: '93c70db61fe276f93ce781ad17dc47cd', 163 superCapture: '93c70db61fe276f93ce781ad17dc47cd',
164 from: from 164 from: from
@@ -19,6 +19,7 @@ const IP_WHITE_LIST = [ @@ -19,6 +19,7 @@ const IP_WHITE_LIST = [
19 '218.94.75.58', 19 '218.94.75.58',
20 '218.94.75.50', 20 '218.94.75.50',
21 '218.94.77.166', 21 '218.94.77.166',
  22 + '10.66.70.21', // 联盟 生产 IP
22 '222.73.196.18' // B站合作方单击次数快加白名单 23 '222.73.196.18' // B站合作方单击次数快加白名单
23 ]; 24 ];
24 25
@@ -30,7 +31,24 @@ const PATH_WHITE_LIST = [ @@ -30,7 +31,24 @@ const PATH_WHITE_LIST = [
30 '/passport/captcha/get', 31 '/passport/captcha/get',
31 '/passport/images', 32 '/passport/images',
32 '/passport/img-check.jpg', 33 '/passport/img-check.jpg',
33 - '/passport/geetest/register' 34 + '/passport/geetest/register',
  35 + '/activity/individuation/productLst',
  36 + '/activity/individuation/coupon',
  37 + '/activity/share',
  38 + '/activity/wechat/share',
  39 + '/activity/wechat/1111',
  40 + '/api/switch',
  41 + '/passport/login/user',
  42 + '/api/sw.js',
  43 + '/api/manifest.json',
  44 + '/api/activity/sw.js',
  45 + '/api/activity/manifest.json',
  46 + '/api/hfxRaNY27L.txt',
  47 + '/api/activity/hfxRaNY27L.txt',
  48 + '/api/shop/hfxRaNY27L.txt',
  49 + '/api/product/hfxRaNY27L.txt',
  50 + '/api/.well-known/apple-app-site-association',
  51 + '/sitemap.xml'
34 ]; 52 ];
35 53
36 const limiter = (rule, policy, context) => { 54 const limiter = (rule, policy, context) => {