Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
石磊
/
cihai
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bcfb968d
authored
Jan 25, 2018
by
侯昆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉纪念页面
1 parent
57d9ef8d
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
10 deletions
serverside/cihai-app/src/main/java/com/dookay/cihai/app/controller/HistoryHtmlController.java
serverside/cihai-app/src/main/java/com/dookay/cihai/app/controller/vo/CharacterBaikeVO.java
serverside/cihai-app/src/main/java/com/dookay/cihai/app/controller/vo/StatementBaikeVO.java
serverside/cihai-app/src/main/webapp/WEB-INF/jsp/history/all.jsp
serverside/cihai-app/src/main/webapp/WEB-INF/jsp/history/event.jsp
serverside/cihai-app/src/main/webapp/WEB-INF/jsp/history/people.jsp
serverside/cihai-app/src/main/webapp/WEB-INF/jsp/word/character_baike.jsp
serverside/cihai-app/src/main/webapp/WEB-INF/jsp/word/statement_baike.jsp
serverside/cihai-app/src/main/java/com/dookay/cihai/app/controller/HistoryHtmlController.java
View file @
bcfb968
...
...
@@ -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;
//
}
}
serverside/cihai-app/src/main/java/com/dookay/cihai/app/controller/vo/CharacterBaikeVO.java
View file @
bcfb968
...
...
@@ -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
)
...
...
serverside/cihai-app/src/main/java/com/dookay/cihai/app/controller/vo/StatementBaikeVO.java
View file @
bcfb968
...
...
@@ -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
)
...
...
serverside/cihai-app/src/main/webapp/WEB-INF/jsp/history/all.jsp
View file @
bcfb968
...
...
@@ -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>
...
...
serverside/cihai-app/src/main/webapp/WEB-INF/jsp/history/event.jsp
View file @
bcfb968
...
...
@@ -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>
...
...
serverside/cihai-app/src/main/webapp/WEB-INF/jsp/history/people.jsp
View file @
bcfb968
...
...
@@ -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>
...
...
serverside/cihai-app/src/main/webapp/WEB-INF/jsp/word/character_baike.jsp
View file @
bcfb968
...
...
@@ -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}">
...
...
serverside/cihai-app/src/main/webapp/WEB-INF/jsp/word/statement_baike.jsp
View file @
bcfb968
...
...
@@ -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}">
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment