diff --git a/tamguo-bms/src/main/java/com/tamguo/web/IndexController.java b/tamguo-bms/src/main/java/com/tamguo/web/IndexController.java index 01d1555..83a015d 100644 --- a/tamguo-bms/src/main/java/com/tamguo/web/IndexController.java +++ b/tamguo-bms/src/main/java/com/tamguo/web/IndexController.java @@ -3,6 +3,7 @@ package com.tamguo.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; import com.baomidou.mybatisplus.plugins.Page; @@ -44,4 +45,10 @@ public class IndexController { return model; } + @RequestMapping(value = "/baidu_verify_buLyB5tU19.html", method = RequestMethod.GET) + public ModelAndView baidu_verify_5agfTbCO3Q(ModelAndView model) { + model.setViewName("thirdparty/baidu_verify_buLyB5tU19"); + return model; + } + } diff --git a/tamguo-bms/src/main/resources/templates/include/footer.html b/tamguo-bms/src/main/resources/templates/include/footer.html index 2a28905..ebf16af 100644 --- a/tamguo-bms/src/main/resources/templates/include/footer.html +++ b/tamguo-bms/src/main/resources/templates/include/footer.html @@ -52,28 +52,9 @@ var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); - hm.src = "https://hm.baidu.com/hm.js?877e9c9ef462fe55b7750d478a41c981"; + hm.src = "https://hm.baidu.com/hm.js?98bdca900a06a89f5169831007a557dc"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); -// 百度推送 www.tamguo.com -(function(){ - var bp = document.createElement('script'); - var curProtocol = window.location.protocol.split(':')[0]; - if (curProtocol === 'https') { - bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; - } - else { - bp.src = 'http://push.zhanzhang.baidu.com/push.js'; - } - var s = document.getElementsByTagName("script")[0]; - s.parentNode.insertBefore(bp, s); -})(); - - -(function(){ -var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?40ee03bede7c19e05d89f18db868df8a":"https://jspassport.ssl.qhimg.com/11.0.1.js?40ee03bede7c19e05d89f18db868df8a"; -document.write(' \ No newline at end of file diff --git a/tamguo-bms/src/main/resources/templates/thirdparty/baidu_verify_buLyB5tU19.html b/tamguo-bms/src/main/resources/templates/thirdparty/baidu_verify_buLyB5tU19.html new file mode 100644 index 0000000..da7a813 --- /dev/null +++ b/tamguo-bms/src/main/resources/templates/thirdparty/baidu_verify_buLyB5tU19.html @@ -0,0 +1 @@ +buLyB5tU19 \ No newline at end of file