Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
b3fdd1fc
Commit
b3fdd1fc
authored
Oct 23, 2020
by
wujj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级
parent
a99a7283
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
11 deletions
+3
-11
5.2-patch.sql
doc/5.2-patch.sql
+0
-0
CategoryEntity.java
src/main/java/net/mingsoft/cms/entity/CategoryEntity.java
+1
-9
main.ftl
src/main/webapp/WEB-INF/manager/main.ftl
+2
-2
No files found.
doc/5.2-patch.sql
View file @
b3fdd1fc
This diff is collapsed.
Click to expand it.
src/main/java/net/mingsoft/cms/entity/CategoryEntity.java
View file @
b3fdd1fc
...
@@ -395,14 +395,6 @@ private static final long serialVersionUID = 1574925152750L;
...
@@ -395,14 +395,6 @@ private static final long serialVersionUID = 1574925152750L;
* 获取栏目图片 (标签使用)
* 获取栏目图片 (标签使用)
*/
*/
public
String
getTypelitpic
()
{
public
String
getTypelitpic
()
{
if
(
StrUtil
.
isNotBlank
(
categoryImg
)){
return
categoryImg
;
try
{
JSONArray
objects
=
JSON
.
parseArray
(
categoryImg
);
return
objects
.
getJSONObject
(
0
).
getString
(
"path"
);
}
catch
(
Exception
e
){
}
}
return
""
;
}
}
}
}
src/main/webapp/WEB-INF/manager/main.ftl
View file @
b3fdd1fc
...
@@ -448,9 +448,9 @@
...
@@ -448,9 +448,9 @@
var
that
=
this
;
var
that
=
this
;
axios
.
create
({
axios
.
create
({
withCredentials
:
true
withCredentials
:
true
}).
get
(
"https://m
s.m
ingsoft.net/cms/content/list.do?contentCategoryId=202"
).
then
(
function
(
res
)
{
}).
get
(
"https://mingsoft.net/cms/content/list.do?contentCategoryId=202"
).
then
(
function
(
res
)
{
that
.
msNewsLast
=
res
.
data
.
data
.
rows
[
0
].
contentTitle
.
toString
();
that
.
msNewsLast
=
res
.
data
.
data
.
rows
[
0
].
contentTitle
.
toString
();
that
.
msNewsPath
=
'https://m
s.m
ingsoft.net/html/1/203/202/'
+
res
.
data
.
data
.
rows
[
0
].
id
+
'.html'
;
that
.
msNewsPath
=
'https://mingsoft.net/html/1/203/202/'
+
res
.
data
.
data
.
rows
[
0
].
id
+
'.html'
;
});
});
this
.
setCallBackFun
();
this
.
setCallBackFun
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment