Pārlūkot izejas kodu

ic、智能家居超链接

Hu Jie 7 gadi atpakaļ
vecāks
revīzija
f11d22ef8a

+ 1 - 1
jpress-web-core/src/main/java/io/jpress/ui/freemarker/tag/ApiDataTag.java

@@ -80,7 +80,7 @@ public class ApiDataTag extends JTag {
 		// IC快讯
 		apiDataCollection.put("news_ic", new ApiData("ic", "https://login.uuzcc.com/ubtob/index/getArticle"));
 		// 智能家居
-		apiDataCollection.put("news_smart_home", new ApiData("ic", "https://login.uuzcc.com/ubtob/index/getArticle?id=18"));
+		apiDataCollection.put("news_smart_home", new ApiData("ic", "https://login.uuzcc.com/ubtob/index/getArticle?id=18&limit=8"));
 		// 最新资讯
 		apiDataCollection.put("news_lastest", new ApiData("ic", "https://login.uuzcc.com/ubtob/index/getNewArtList"));
 		// 热门资讯

+ 2 - 2
jpress-web-template-mallcms/src/main/webapp/templates/mallcms/index.html

@@ -880,7 +880,7 @@
 									<p class="x_gray_text">/${item.month}</p>
 									</dt>
 									<dd>
-										<a href="http://login.uuzcc.com/ubtob/index/getArticle">${item.title}</a>
+										<a href="${item.url}">${item.title}</a>
 										<p class="x_gray_text">
 											${item.description}...
 										</p>
@@ -932,7 +932,7 @@
 							<#assign json=text?eval />
 							<#list json.data.list as item>
 								<li>
-									<a href="http://login.uuzcc.com/ubtob/index/getArticle">${item.title}</a>
+									<a href="${item.url}">${item.title}</a>
 									<span class="x_gray_text">${item.month}-${item.day}</span>
 								</li>
 							</#list>