Browse Source

官网缓存处理-移动m先去掉

anderx 3 years ago
parent
commit
f06fbcbc53

+ 4 - 4
src/main/resources/props/config_local.properties

@@ -61,13 +61,13 @@ template.cacheable=false
 
 #连接开�
 
-#portal.host=//kedejs.jishutao.com/portal/1.0.27
-portal.host=//172.16.1.187/portal/1.0.27
+portal.host=//kedejs.jishutao.com/portal/1.0.27
+#portal.host=//172.16.1.187/portal/1.0.27
 #portal.host=//172.16.0.255:3000/kede_ow/portal/1.0.27
 
-#static.host=//kedejs.jishutao.com/client/1.0.8
+static.host=//kedejs.jishutao.com/client/1.0.8
 #static.host=//172.16.1.187/client/1.0.8
-static.host=//172.16.0.255:3000/kede_ow/client/1.0.8
+#static.host=//172.16.0.255:3000/kede_ow/client/1.0.8
 
 #avatar.host=//172.16.0.255:3000
 avatar.host=//kedejs.jishutao.com

+ 2 - 2
src/main/resources/props/config_prod.properties

@@ -61,8 +61,8 @@ template.cacheable=false
 
 
 #连接开�
-portal.host=//kedejs.jishutao.com/portal/1.0.25
-static.host=//kedejs.jishutao.com/client/1.0.7
+portal.host=//kedejs.jishutao.com/portal/1.0.27
+static.host=//kedejs.jishutao.com/client/1.0.8
 
 avatar.host=//kedejs.jishutao.com
 avatar.upload.host=//kedejs.jishutao.com/upload

+ 5 - 2
src/main/webapp/WEB-INF/views/portal/htmlmap.html

@@ -159,7 +159,7 @@
                 <a target='_blank' th:href="${'/news/'+y.id}">
                   <div class=news-item>
                     <div style="width: 30%;">
-                      <img th:src="${portalHost+y.pictureUrl}" />
+                      <img th:src="${avatarHost+y.pictureUrl}" />
                     </div>
                     <div style="width: 70%;">
                       <h6 th:text="${y.title}">咨询行业2020迎来新转机!!!</h6>
@@ -181,7 +181,10 @@
     </footer>
     <!-- 底部  end -->
   </div>
+  <div th:replace="common::footer(~{::script},'')">
+    <script></script>
+  <div>
 
 </body>
 
-</html>
+</html>

+ 2 - 2
src/main/webapp/WEB-INF/views/portal/newsDetails.html

@@ -118,9 +118,9 @@
   </div>
   </div>
   <div th:replace="common::footer(~{::script},'')">
-    <script></script>
+
     <script th:src="${portalHost+'/js/newdetails.js'}"></script>
   </div>
 </body>
 
-</html>
+</html>