zhangxinlei1996 4 năm trước cách đây
mục cha
commit
28d499f11d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/jfw/modules/app/src/web/templates/common/baiducc.html

+ 2 - 2
src/jfw/modules/app/src/web/templates/common/baiducc.html

@@ -10,12 +10,12 @@ var advUrl = window.location.href;
         testServer: /jianyu360\.cn$/g
     }
     // ip或者以jianyu360.cn结尾的使用测试环境百度统计
-    if (patterns.testServer.test(host)) {
+    if (patterns.ip.test(host) ||patterns.testServer.test(host)) {
         // 测试环境
         hm.src = "https://hm.baidu.com/hm.js?52c42de35032567eb9d7a24a43c84bda";
     } else {
         // 正式环境
-        hm.src = "https://hm.baidu.com/hm.js?52c42de35032567eb9d7a24a43c84bda";
+        hm.src = "https://hm.baidu.com/hm.js?72331746d85dcac3dac65202d103e5d9";
     }
     setTimeout(function(){
         var s = document.getElementsByTagName("script")[0];