Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
b3fdd1fc
Commit
b3fdd1fc
authored
Oct 23, 2020
by
wujj
Browse files
升级
parent
a99a7283
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
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;
* 获取栏目图片 (标签使用)
*/
public
String
getTypelitpic
()
{
if
(
StrUtil
.
isNotBlank
(
categoryImg
)){
try
{
JSONArray
objects
=
JSON
.
parseArray
(
categoryImg
);
return
objects
.
getJSONObject
(
0
).
getString
(
"path"
);
}
catch
(
Exception
e
){
}
}
return
""
;
return
categoryImg
;
}
}
src/main/webapp/WEB-INF/manager/main.ftl
View file @
b3fdd1fc
...
...
@@ -448,9 +448,9 @@
var
that
=
this
;
axios
.create
({
withCredentials
:
true
})
.get
(
"https://
ms.
mingsoft.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
.msNewsPath
=
'
https
:
//
ms
.
mingsoft.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
()
;
}
...
...
Write
Preview
Supports
Markdown
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