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
1de70257
Commit
1de70257
authored
May 12, 2021
by
msgroup
Browse files
增加禁用列表属性
parent
4b344720
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/net/mingsoft/cms/entity/CategoryEntity.java
View file @
1de70257
...
...
@@ -98,6 +98,11 @@ public class CategoryEntity extends BaseEntity {
* 缩略图
*/
private
String
categoryImg
;
/**
* 禁用生成列表
*/
private
boolean
categoryDisableList
=
false
;
/**
* 自定义链接
*/
...
...
@@ -452,4 +457,12 @@ public class CategoryEntity extends BaseEntity {
public
String
getTypelitpic
()
{
return
categoryImg
;
}
public
boolean
isCategoryDisableList
()
{
return
categoryDisableList
;
}
public
void
setCategoryDisableList
(
boolean
categoryDisableList
)
{
this
.
categoryDisableList
=
categoryDisableList
;
}
}
src/main/resources/application.yml
View file @
1de70257
...
...
@@ -12,6 +12,8 @@ logging:
name
:
mcms.log
#会在项目的根目录下生成对应的mcms.log文件,也可以根据实际情况写绝对路径,例如:d:/mcms.log
path
:
log
#会在项目的根目录下生成log目录,里面会生成对应的日期目录,日期目录下面生成日志压缩包备份文件,默认按每10M分割一个日志文件,例如:log/2020-01/app-2020-01-03-18.1.log.gz(表示2020年1月3号下午六点的第一个备份),也可以根据实际情况写绝对路径,例如:d:/log
ms
:
mstore-url
:
http://store.i.mingsoft.net
mstore-host
:
store.i.mingsoft.net
diy
:
html-dir
:
html
# scheme: https #解决使用代理服务器代理应用时标签解析域名依旧为http的问题
...
...
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