Authored by 郭成尧

bj-report

@@ -77,10 +77,13 @@ @@ -77,10 +77,13 @@
77 77
78 {{> download-app}} 78 {{> download-app}}
79 {{#ifand isProduction wap.open.bughd}} 79 {{#ifand isProduction wap.open.bughd}}
80 - <script type="text/javascript" src="https://dn-bughd-web.qbox.me/bughd.min.js" crossOrigin="anonymous"></script> 80 + <script type="text/javascript" src="https://cdn.yoho.cn/tool/bj-report-tryjs.min.js" crossOrigin="anonymous"></script>
81 <script type="text/javascript"> 81 <script type="text/javascript">
82 - window.bughd = window.bughd || function(){};  
83 - bughd("create",{key:"31114646b053c0185782a800db730dd4"}) 82 + BJ_REPORT.init({
  83 + id: 2,
  84 + url: "http://118.89.213.12/badjs",
  85 + ignore: [/Script error/i]
  86 + });
84 </script> 87 </script>
85 {{/ifand}} 88 {{/ifand}}
86 {{#wechatShare}} 89 {{#wechatShare}}
@@ -102,6 +105,11 @@ @@ -102,6 +105,11 @@
102 {{^}} 105 {{^}}
103 <script>var STATIC_RESOURCE_PATH = '//cdn.yoho.cn/m-yohobuy-node/assets';</script> 106 <script>var STATIC_RESOURCE_PATH = '//cdn.yoho.cn/m-yohobuy-node/assets';</script>
104 <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js?t={{startTime}}"></script> 107 <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js?t={{startTime}}"></script>
  108 + {{#ifand isProduction wap.open.bughd}}
  109 + <script>
  110 + BJ_REPORT.tryJs().spyAll();
  111 + </script>
  112 + {{/ifand}}
105 <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js?t={{startTime}}"></script> 113 <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js?t={{startTime}}"></script>
106 {{/if}} 114 {{/if}}
107 {{#loadJs}} 115 {{#loadJs}}