Pārlūkot izejas kodu

文章发布日期

chao 4 gadi atpakaļ
vecāks
revīzija
3c8eaf4702
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/main/resources/mapper/ArticleMapper.xml

+ 2 - 2
src/main/resources/mapper/ArticleMapper.xml

@@ -42,7 +42,7 @@
 			a.title as title,
 			a.guidanceImage as image,
 			a.publisher as publisher,
-			a.pubdate as publish_date,
+			a.pubdate as publishDate,
 			a.recommendContent as intro,
 			a.infoContent as content,
 			(IFNULL(c.pv, 0) + IFNULL(a.basePv, 0) + IFNULL((c.num + a.basePraise), 0)) as pv,
@@ -101,7 +101,7 @@
 		  a.title AS title,
 		  a.guidanceImage AS image,
 		  a.publisher AS publisher,
-		  a.pubdate AS publish_date,
+		  a.pubdate AS publishDate,
 		  a.recommendContent AS intro,
 		  a.infoContent AS content,
 		  (