Browse Source

官网新增关键词等开发

anderx 3 years ago
parent
commit
7057a9c296
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/kede/news/service/impl/NewsServiceImpl.java

+ 1 - 1
src/main/java/com/kede/news/service/impl/NewsServiceImpl.java

@@ -74,7 +74,7 @@ public class NewsServiceImpl extends BaseMybatisDao<NewsMapper> implements NewsS
 	@SuppressWarnings("unchecked")
 	@Override
 	@Cacheable(cacheNames="listnewsDetails#600", key = "'listnewsDetails'+':ps='+#pageSize+'pn='+#pageNo+'hot='+#in.hot+'type" +
-			"='+#in.type+'title'+#in.title")
+			"='+#in.type+'title'+#in.title+'keywords'+#in.keywords")
 	public Pagination<OutNews> listnewsDetails(InputNews in, Integer pageSize, Integer pageNo) {
 		Map<String, Object> params = new HashMap<>();
 		if(pageSize==null||pageSize<0)pageSize=10;