{ "enabled": true, "groups": [ { "enabled": false, "name": "默认", "rules": [ { "action": "127.0.0.1:8010", "enabled": true, "match": "regex:http(s)?://(.*)/fund_act_fcg/node/act.cgi(.*)", "name": "理财通登录态同步本地" } ] }, { "enabled": false, "name": "dev_cgi", "rules": [ { "action": "127.0.0.1", "enabled": true, "match": "regex:http(s)?://(qian|apreqian).(xx|qq|yy).com/(app|fcgi|fund_act_fcg)/(.*).[f]?cgi(.*)", "name": "dev主站" }, { "action": "{\"ret\":0,\"msg\":\"\",\"rsp\":{ \"iDualRecordCase\": 1, \"iReason\": 0, \"iRet\": 0, \"sReason\": \"当前不在工作时间\" }}", "enabled": false, "match": "regex:http(s)?://(qian|apreqian).(tenpay|qq|ehowbuy).com/fund_act_fcg/action_acc_fcgi.fcgi(.*)", "name": "对某个请求返回固定的json" }, { "action": "E:\\git\\lct_web\\src\\mb\\v4\\js\\page\\store/list.js", "enabled": false, "match": "http://qian-img.qq.com/mb/v4/js/page/store/list.02483ce3.min.js", "name": "把请求指向文件" }, { "action": "127.0.0.1", "enabled": false, "match": "www.qq.com", "name": "设置host" } ] }, { "enabled": true, "name": "预发布CGI", "rules": [ { "action": "10.0.0.1", "enabled": false, "match": "regex:http(s)?://(qian|apreqian).(xx|qq|yy).com/app/v2.0/(aaa|bbb|ccc).[f]?cgi(.*)", "name": "指定某些接口到开发机" }, { "action": "http://127.0.0.1", "enabled": true, "match": "regex:http(s)?://(qian|apreqian).(xx|qq|yy).com/fund_act_fcg/(.*).[f]?cgi(.*)", "name": "某些接口https转为http请求" } ] }, { "enabled": true, "name": "预发布UI", "rules": [ { "action": "http://127.0.0.1", "enabled": true, "match": "regex:http(s)?://qian(-img)?.(xx|qq|yy).com/(.*)", "name": "主站https转为http请求" }, { "action": "http://127.0.0.1", "enabled": true, "match": "www.jm47.com", "name": "jm47转为http请求" } ] }, { "enabled": true, "name": "测试", "rules": [ { "action": "D:\\javascript\\", "enabled": false, "match": "regex://js.jm.com/(?(.*))", "name": "把请求指向本地静态文件" }, { "action": "http://qian.qq.com/mb/v4/js/page/vip/config.js", "enabled": false, "match": "https://qian.qq.com/mb/v4/js/page/vip/config.js", "name": "https转向http请求js" }, { "action": "D:\\javascript\\JM.JS\\jmgraph", "enabled": false, "match": "regex://jmgraph.jm.com/(.*)", "name": "jmgraph请求指向本地目录" }, { "action": "D:\\myproject\\nodeMediaServer", "enabled": false, "match": "nms.jm.com", "name": "nms站点" }, { "action": "E:\\github\\", "enabled": true, "match": "regex://www.jm.com/(.*)", "name": "jmSlip" }, { "action": "proxy.jm.com:8080", "enabled": true, "match": "regex://(.*)", "name": "所有没命中的请求都走代理" }, { "action": "127.0.0.1:7001", "enabled": false, "match": "regex://fmp.jm.com/(.*)", "name": "fmp" } ] } ] }