Commit bcfb968d by 侯昆

去掉纪念页面

1 parent 57d9ef8d
......@@ -72,9 +72,9 @@ public class HistoryHtmlController extends BaseController {
* @author houkun
* @date 2018/1/24
*/
@RequestMapping(value = "/memory", method = RequestMethod.GET)
public ModelAndView memory() {
ModelAndView mv = new ModelAndView("/history/memory");
return mv;
}
// @RequestMapping(value = "/memory", method = RequestMethod.GET)
// public ModelAndView memory() {
// ModelAndView mv = new ModelAndView("/history/memory");
// return mv;
// }
}
......@@ -38,6 +38,7 @@ public class CharacterBaikeVO {
private Long wordId;
@ApiModelProperty("字")
private String word;
private String description;
@ApiModelProperty("上面的简介")
private List<String> brief;
@ApiModelProperty("下面的释义主体")
......@@ -53,6 +54,7 @@ public class CharacterBaikeVO {
CharacterBaikeVO dto = new CharacterBaikeVO();
dto.setWordId(word.getId());
dto.setWord(word.getWord());
dto.setDescription(word.getBaikeDescription());
List<String> brief = Arrays.stream(StringUtils.split(word.getBaikeBrief(), '`'))
.filter(StringUtils::isNoneBlank)
.map(StringUtils::trim)
......
......@@ -37,6 +37,7 @@ public class StatementBaikeVO {
private Long wordId;
@ApiModelProperty("词")
private String word;
private String description;
@ApiModelProperty("上面的简介")
private List<String> brief;
@ApiModelProperty("下面的释义主体")
......@@ -52,6 +53,7 @@ public class StatementBaikeVO {
StatementBaikeVO dto = new StatementBaikeVO();
dto.setWordId(word.getId());
dto.setWord(word.getWord());
dto.setDescription(word.getBaikeDescription());
List<String> brief = Arrays.stream(StringUtils.split(word.getBaikeBrief(), '`'))
.filter(StringUtils::isNoneBlank)
.map(StringUtils::trim)
......
......@@ -19,7 +19,7 @@
<a class="nav-link active" href="/history/all">全部</a>
<a class="nav-link" href="/history/event">事件</a>
<a class="nav-link" href="/history/people">人物</a>
<a class="nav-link" href="/history/memory">纪念</a>
<%--<a class="nav-link" href="/history/memory">纪念</a>--%>
</nav>
<ul class="list-unstyled list-history">
<li>
......
......@@ -19,7 +19,7 @@
<a class="nav-link" href="/history/all">全部</a>
<a class="nav-link active" href="/history/event">事件</a>
<a class="nav-link" href="/history/people">人物</a>
<a class="nav-link" href="/history/memory">纪念</a>
<%--<a class="nav-link" href="/history/memory">纪念</a>--%>
</nav>
<ul class="list-unstyled list-history">
<li>
......
......@@ -19,7 +19,7 @@
<a class="nav-link" href="/history/all">全部</a>
<a class="nav-link" href="/history/event">事件</a>
<a class="nav-link active" href="/history/people">人物</a>
<a class="nav-link" href="/history/memory">纪念</a>
<%--<a class="nav-link" href="/history/memory">纪念</a>--%>
</nav>
<ul class="list-unstyled list-history">
<li>
......
......@@ -23,7 +23,7 @@
<i class="icon icon-shengyin"></i>
</a>
</div>
<%--<h4>长鼻目象科哺乳动物</h4>--%>
<h4>${vo.description}</h4>
</div>
</div>
<c:if test="${vo.images.size() > 0}">
......
......@@ -22,7 +22,7 @@
<i class="icon icon-shengyin"></i>
</a>
</div>
<%--<h4>长鼻目象科哺乳动物</h4>--%>
<h4>${vo.description}</h4>
</div>
</div>
<c:if test="${vo.images.size() > 0}">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!