Browse Source

增加百度统计信息

demo
陈精华 1 year ago
parent
commit
399e709d1d
No known key found for this signature in database
GPG Key ID: 30BDC970902B755D
  1. 8
      server/src/main/resources/web/commonHeader.ftl
  2. 10
      server/src/main/resources/web/fileNotSupported.ftl
  3. 8
      server/src/main/resources/web/main/index.ftl
  4. 10
      server/src/main/resources/web/main/integrated.ftl
  5. 10
      server/src/main/resources/web/main/record.ftl
  6. 10
      server/src/main/resources/web/main/sponsor.ftl
  7. 10
      server/src/main/resources/web/notTrustDir.html
  8. 10
      server/src/main/resources/web/notTrustHost.html
  9. 8
      server/src/main/resources/web/officeweb.ftl

8
server/src/main/resources/web/commonHeader.ftl

@ -27,6 +27,14 @@
});
}
}
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a9e1d1e1aa9e5435c653c424364f284a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<style>

10
server/src/main/resources/web/fileNotSupported.ftl

@ -40,5 +40,15 @@
</span>
<p>有任何疑问请加入kk开源社区知识星球咨询<a href="https://t.zsxq.com/09ZHSXbsQ">https://t.zsxq.com/09ZHSXbsQ</a><br></p>
</div>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a9e1d1e1aa9e5435c653c424364f284a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>

8
server/src/main/resources/web/main/index.ftl

@ -312,6 +312,14 @@
}
return true;
}
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a9e1d1e1aa9e5435c653c424364f284a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>

10
server/src/main/resources/web/main/integrated.ftl

@ -93,6 +93,14 @@
</div>
</div>
</div>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a9e1d1e1aa9e5435c653c424364f284a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>

10
server/src/main/resources/web/main/record.ftl

@ -339,5 +339,15 @@
</div>
</div>
</div>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a9e1d1e1aa9e5435c653c424364f284a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>

10
server/src/main/resources/web/main/sponsor.ftl

@ -85,6 +85,14 @@
</table>
</div>
</div>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a9e1d1e1aa9e5435c653c424364f284a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>

10
server/src/main/resources/web/notTrustDir.html

@ -38,5 +38,15 @@
有任何疑问请加入kk开源社区知识星球咨询<a href="https://t.zsxq.com/09ZHSXbsQ">https://t.zsxq.com/09ZHSXbsQ</a><br>
</p>
</div>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a9e1d1e1aa9e5435c653c424364f284a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>

10
server/src/main/resources/web/notTrustHost.html

@ -38,5 +38,15 @@
有任何疑问请加入kk开源社区知识星球咨询<a href="https://t.zsxq.com/09ZHSXbsQ">https://t.zsxq.com/09ZHSXbsQ</a><br>
</p>
</div>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a9e1d1e1aa9e5435c653c424364f284a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>

8
server/src/main/resources/web/officeweb.ftl

@ -140,6 +140,14 @@
document.querySelector('#print-area').style.display = 'block';
document.querySelector('#button-area').style.display = 'none';
}
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a9e1d1e1aa9e5435c653c424364f284a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>
Loading…
Cancel
Save