Просмотр исходного кода

商务通接入

Signed-off-by: anderx <312518615@qq.com>
anderx лет назад: 5
Родитель
Сommit
b21e6f5dd8

+ 2 - 0
.settings/org.eclipse.wst.common.component

@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
     <wb-module deploy-name="local">
+        <wb-resource deploy-path="/WEB-INF/web.xml" source-path="/src/main/webapp/WEB-INF/web.xml"/>
         <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
         <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
+        <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
         <wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
         <property name="java-output-path" value="/wechat-guessing/target/classes"/>
         <property name="context-root" value="local"/>

+ 9 - 0
src/main/webapp/WEB-INF/views/common.html

@@ -285,6 +285,15 @@
 			}
 			/*]]>*/
 		</script>
+		<script>
+				var _hmt = _hmt || [];
+				(function() {
+				  var hm = document.createElement("script");
+				  hm.src = "https://hm.baidu.com/hm.js?feddf259e953d0a132647a861d8f978d";
+				  var s = document.getElementsByTagName("script")[0]; 
+				  s.parentNode.insertBefore(hm, s);
+				})();
+				</script>
 		<th:block th:replace="${scripts}" />
 	</th:block>