Showing
1 changed file
with
17 additions
and
4 deletions
@@ -34,6 +34,19 @@ | @@ -34,6 +34,19 @@ | ||
34 | {{{body}}} | 34 | {{{body}}} |
35 | {{/if}} | 35 | {{/if}} |
36 | {{> footer}} | 36 | {{> footer}} |
37 | + | ||
38 | + {{#ifand isProduction pc.open.bughd}} | ||
39 | + <script type="text/javascript" src="//cdn.yoho.cn/tool/bj-report-tryjs.min.js" crossOrigin="anonymous"></script> | ||
40 | + <script> | ||
41 | + BJ_REPORT && BJ_REPORT.init({ | ||
42 | + id: 3, | ||
43 | + url: "http://118.89.213.12/badjs", | ||
44 | + ignore: [/Script error/i], | ||
45 | + offlineLog: false | ||
46 | + }); | ||
47 | + </script> | ||
48 | + {{/ifand}} | ||
49 | + | ||
37 | {{#if devEnv}} | 50 | {{#if devEnv}} |
38 | <script src="//{{devHost}}:5002/libs.js"></script> | 51 | <script src="//{{devHost}}:5002/libs.js"></script> |
39 | <script src="//{{devHost}}:5002/{{module}}.{{page}}.js"></script> | 52 | <script src="//{{devHost}}:5002/{{module}}.{{page}}.js"></script> |
@@ -42,13 +55,13 @@ | @@ -42,13 +55,13 @@ | ||
42 | <script src="//{{#isEqual cdn 'qcloud'}}qcdn.yoho.cn{{^}}cdn.yoho.cn{{/isEqual}}/yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script> | 55 | <script src="//{{#isEqual cdn 'qcloud'}}qcdn.yoho.cn{{^}}cdn.yoho.cn{{/isEqual}}/yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script> |
43 | {{> analysis}} | 56 | {{> analysis}} |
44 | {{/if}} | 57 | {{/if}} |
58 | + | ||
45 | {{#ifand isProduction pc.open.bughd}} | 59 | {{#ifand isProduction pc.open.bughd}} |
46 | - <script type="text/javascript" src="https://dn-bughd-web.qbox.me/bughd.min.js" crossOrigin="anonymous"></script> | ||
47 | - <script type="text/javascript"> | ||
48 | - window.bughd = window.bughd || function(){}; | ||
49 | - bughd("create",{key:"986befe1e91cae7c844df12923febcf6"}) | 60 | + <script> |
61 | + BJ_REPORT && BJ_REPORT.tryJs().spyAll(); | ||
50 | </script> | 62 | </script> |
51 | {{/ifand}} | 63 | {{/ifand}} |
64 | + | ||
52 | <script>window.cdn='{{cdn}}';</script> | 65 | <script>window.cdn='{{cdn}}';</script> |
53 | <script>window._version='{{version}}';</script> | 66 | <script>window._version='{{version}}';</script> |
54 | </body> | 67 | </body> |
-
Please register or login to post a comment