This commit is contained in:
thinkgem
2022-09-13 14:48:22 +08:00
parent 03a0a51de9
commit 3716cdfa87
14 changed files with 108 additions and 108 deletions

View File

@@ -10,4 +10,5 @@
4.3.0 4.3.0
5.0.0 5.0.0
5.0.1 5.0.1
5.0.2 5.0.2
5.1.0

View File

@@ -8,10 +8,9 @@ DIRECT_BYTE_OUTPUT = FALSE
HTML_TAG_SUPPORT = true HTML_TAG_SUPPORT = true
HTML_TAG_FLAG = # HTML_TAG_FLAG = #
HTML_TAG_BINDING_ATTRIBUTE = var,export HTML_TAG_BINDING_ATTRIBUTE = var,export
HTML_TAG_ATTR_CONVERT=org.beetl.core.text.DefaultAttributeNameConvert HTML_TAG_ATTR_CONVERT=com.jeesite.common.beetl.text.BlankAttributeNameConvert
NATIVE_CALL = TRUE NATIVE_CALL = TRUE
TEMPLATE_CHARSET = UTF-8 TEMPLATE_CHARSET = UTF-8
#ERROR_HANDLER = org.beetl.core.ConsoleErrorHandler
ERROR_HANDLER = com.jeesite.common.beetl.handler.LoggerErrorHandler ERROR_HANDLER = com.jeesite.common.beetl.handler.LoggerErrorHandler
NATIVE_SECUARTY_MANAGER = org.beetl.core.DefaultNativeSecurityManager NATIVE_SECUARTY_MANAGER = org.beetl.core.DefaultNativeSecurityManager
RESOURCE_LOADER = org.beetl.core.resource.ClasspathResourceLoader RESOURCE_LOADER = org.beetl.core.resource.ClasspathResourceLoader

View File

@@ -40,7 +40,7 @@
import { ${className}TreeData } from '/@/api/${moduleName}${isNotEmpty(subModuleName)?'/'+subModuleName:''}/${className}'; import { ${className}TreeData } from '/@/api/${moduleName}${isNotEmpty(subModuleName)?'/'+subModuleName:''}/${className}';
import ListView from './list.vue'; import ListView from './list.vue';
const { t } = useI18n('sys.menu'); const { t } = useI18n('${moduleName}${isNotEmpty(subModuleName)?'.'+subModuleName:''}.${className}');
const treeCode = ref<string>(''); const treeCode = ref<string>('');
function handleSelect(keys: string[]) { function handleSelect(keys: string[]) {

View File

@@ -31,7 +31,7 @@ cd app
jar -xvf web.war jar -xvf web.war
rm web.war rm web.war
cd WEB-INF cd WEB-INF
exec ./startup.sh sh ./startup.sh
]]> ]]>
</content> </content>
</template> </template>

View File

@@ -4,7 +4,7 @@ productName: JeeSite Demo
companyName: ThinkGem companyName: ThinkGem
# 产品版本、版权年份 # 产品版本、版权年份
productVersion: V5.0 productVersion: V5.1
copyrightYear: 2022 copyrightYear: 2022
# 数据库连接 # 数据库连接

View File

@@ -42,7 +42,7 @@
<druid.version>1.2.11</druid.version> <druid.version>1.2.11</druid.version>
<shiro.version>1.9.1</shiro.version> <shiro.version>1.9.1</shiro.version>
<j2cache.version>2.8.0-release</j2cache.version> <j2cache.version>2.8.0-release</j2cache.version>
<swagger.version>1.6.0</swagger.version> <swagger.version>1.6.6</swagger.version>
<log4j2.version>2.18.0</log4j2.version> <log4j2.version>2.18.0</log4j2.version>
<!-- jdbc setting --> <!-- jdbc setting -->

View File

@@ -18,4 +18,4 @@ ENTRYPOINT jar -xvf app.war && rm app.war && cd WEB-INF && sh startup.sh
EXPOSE 8980 EXPOSE 8980
#docker run -p 8980:8980 thinkgem/jeesite-web:5.0 #docker run -p 8980:8980 thinkgem/jeesite-web:5.1

View File

@@ -24,4 +24,4 @@ cd app
jar -xvf web.war jar -xvf web.war
rm web.war rm web.war
cd WEB-INF cd WEB-INF
exec ./startup.sh sh ./startup.sh

View File

@@ -8,7 +8,7 @@ productName: JeeSite Demo
companyName: ThinkGem companyName: ThinkGem
# 产品版本、版权年份 # 产品版本、版权年份
productVersion: V5.0 productVersion: V5.1
copyrightYear: 2022 copyrightYear: 2022
# 是否演示模式 # 是否演示模式

View File

@@ -8,7 +8,7 @@ productName: JeeSite Demo
companyName: ThinkGem companyName: ThinkGem
# 产品版本、版权年份 # 产品版本、版权年份
productVersion: V5.0 productVersion: V5.1
copyrightYear: 2022 copyrightYear: 2022
# 是否演示模式 # 是否演示模式

View File

@@ -18,4 +18,4 @@ ENTRYPOINT jar -xvf app.war && rm app.war && cd WEB-INF && sh startup.sh
EXPOSE 8980 EXPOSE 8980
#docker run -p 8980:8980 thinkgem/jeesite-web:5.0 #docker run -p 8980:8980 thinkgem/jeesite-web:5.1

View File

@@ -24,4 +24,4 @@ cd app
jar -xvf web.war jar -xvf web.war
rm web.war rm web.war
cd WEB-INF cd WEB-INF
exec ./startup.sh sh ./startup.sh

View File

@@ -8,7 +8,7 @@ productName: JeeSite Demo
companyName: ThinkGem companyName: ThinkGem
# 产品版本、版权年份 # 产品版本、版权年份
productVersion: V5.0 productVersion: V5.1
copyrightYear: 2022 copyrightYear: 2022
# 是否演示模式 # 是否演示模式
@@ -39,18 +39,18 @@ server:
# # 线程数最大和最小个数 # # 线程数最大和最小个数
# threads: # threads:
# max: 200 # max: 200
# min-spare: 10 # min-spare: 10
# 当 Nginx 为 httpstomcat 为 http 时,设置该选项为 true # 当 Nginx 为 httpstomcat 为 http 时,设置该选项为 true
schemeHttps: false schemeHttps: false
#======================================# #======================================#
#========== Database sttings ==========# #========== Database sttings ==========#
#======================================# #======================================#
# 数据库连接 # 数据库连接
jdbc: jdbc:
# Mysql 数据库配置 # Mysql 数据库配置
type: mysql type: mysql
driver: com.mysql.cj.jdbc.Driver driver: com.mysql.cj.jdbc.Driver
@@ -82,7 +82,7 @@ jdbc:
# username: jeesite # username: jeesite
# password: jeesite # password: jeesite
# testSql: SELECT 1 # testSql: SELECT 1
# # PostgreSql 数据库配置 # # PostgreSql 数据库配置
# type: postgresql # type: postgresql
# driver: org.postgresql.Driver # driver: org.postgresql.Driver
@@ -101,7 +101,7 @@ jdbc:
# 连接信息加密 # 连接信息加密
encrypt: encrypt:
# 加密连接用户名 # 加密连接用户名
username: false username: false
# 加密连接密码 # 加密连接密码
@@ -109,7 +109,7 @@ jdbc:
# 数据库连接池配置 # 数据库连接池配置
pool: pool:
# 初始化连接数 # 初始化连接数
init: 1 init: 1
# 最小空闲连接数 # 最小空闲连接数
@@ -119,29 +119,29 @@ jdbc:
# # 获取连接等待超时时间单位毫秒1分钟4.0.6+ # # 获取连接等待超时时间单位毫秒1分钟4.0.6+
# maxWait: 60000 # maxWait: 60000
# #
# # 从池中取出和归还连接前进行检验如果检验失败则从池中去除连接并尝试取出另一个4.0.6+ # # 从池中取出和归还连接前进行检验如果检验失败则从池中去除连接并尝试取出另一个4.0.6+
# testOnBorrow: false # testOnBorrow: false
# testOnReturn: false # testOnReturn: false
# #
# # 间隔多久才进行一次检测检测需要关闭的空闲连接单位毫秒1分钟4.0.6+ # # 间隔多久才进行一次检测检测需要关闭的空闲连接单位毫秒1分钟4.0.6+
# timeBetweenEvictionRunsMillis: 60000 # timeBetweenEvictionRunsMillis: 60000
# #
# # 一个连接在池中最小空闲的时间单位毫秒20分钟4.0.6+ # # 一个连接在池中最小空闲的时间单位毫秒20分钟4.0.6+
# minEvictableIdleTimeMillis: 1200000 # minEvictableIdleTimeMillis: 1200000
# # 一个连接在池中最大空闲的时间单位毫秒30分钟4.1.2+ # # 一个连接在池中最大空闲的时间单位毫秒30分钟4.1.2+
# maxEvictableIdleTimeMillis: 1800000 # maxEvictableIdleTimeMillis: 1800000
# #
# # 连接池中的minIdle数量以内的连接空闲时间超过minEvictableIdleTimeMillis则会执行keepAlive操作4.1.8+ # # 连接池中的minIdle数量以内的连接空闲时间超过minEvictableIdleTimeMillis则会执行keepAlive操作4.1.8+
# keepAlive: false # keepAlive: false
# #
# # 是否自动回收泄露的连接和超时时间单位秒35分钟4.0.6+ # # 是否自动回收泄露的连接和超时时间单位秒35分钟4.0.6+
# removeAbandoned: false # removeAbandoned: false
# removeAbandonedTimeout: 2100 # removeAbandonedTimeout: 2100
# #
# # Oracle 下会自动开启 PSCache并指定每个连接上 PSCache 大小。若不指定,则与 maxActive 相同4.1.5+ # # Oracle 下会自动开启 PSCache并指定每个连接上 PSCache 大小。若不指定,则与 maxActive 相同4.1.5+
# maxPoolPreparedStatementPerConnectionSize: ~ # maxPoolPreparedStatementPerConnectionSize: ~
# #
# # 设置连接属性,可获取到表的 remark (备注) # # 设置连接属性,可获取到表的 remark (备注)
# remarksReporting: false # remarksReporting: false
@@ -154,7 +154,7 @@ jdbc:
# #
# # 多数据源名称列表,多个用逗号隔开,使用方法:@MyBatisDao(dataSourceName="ds2") # # 多数据源名称列表,多个用逗号隔开,使用方法:@MyBatisDao(dataSourceName="ds2")
# dataSourceNames: ds_read_01, ds_read_02 # dataSourceNames: ds_read_01, ds_read_02
# #
# # 默认数据源的从库01 # # 默认数据源的从库01
# ds_read_01: # ds_read_01:
# type: mysql # type: mysql
@@ -167,7 +167,7 @@ jdbc:
# init: 1 # init: 1
# minIdle: 3 # minIdle: 3
# maxActive: 20 # maxActive: 20
# #
# # 默认数据源的从库02 # # 默认数据源的从库02
# ds_read_02: # ds_read_02:
# type: mysql # type: mysql
@@ -229,9 +229,9 @@ jdbc:
# # 事务超时时间单位秒30分钟v4.1.5+ # # 事务超时时间单位秒30分钟v4.1.5+
# transactionTimeout: 1800 # transactionTimeout: 1800
# #
# # 表名和字段名(前缀|后缀是否强制大写v4.1.8+ # # 表名和字段名(前缀|后缀是否强制大写v4.1.8+
# tableAndColumn: # tableAndColumn:
# prefixSuffix: "`|`" # prefixSuffix: "`|`"
# forceUpperCase: true # forceUpperCase: true
# #
@@ -243,15 +243,15 @@ jdbc:
#======================================# #======================================#
spring: spring:
# 应用程序名称 # 应用程序名称
application: application:
name: jeesite-web name: jeesite-web
# 环境名称(注意:不可设置为 test 它是单元测试专用的名称) # 环境名称(注意:不可设置为 test 它是单元测试专用的名称)
profiles: profiles:
active: default active: default
# 打印横幅 # 打印横幅
main: main:
bannerMode: "off" bannerMode: "off"
@@ -260,7 +260,7 @@ spring:
mvc: mvc:
pathmatch: pathmatch:
matching-strategy: ANT_PATH_MATCHER matching-strategy: ANT_PATH_MATCHER
# # Redis 连接参数 RedisProperties # # Redis 连接参数 RedisProperties
# redis: # redis:
# host: 127.0.0.1 # host: 127.0.0.1
@@ -292,7 +292,7 @@ spring:
# 日志配置 # 日志配置
logging: logging:
config: classpath:config/logback-spring.xml config: classpath:config/logback-spring.xml
#======================================# #======================================#
#========== System settings ===========# #========== System settings ===========#
#======================================# #======================================#
@@ -305,16 +305,16 @@ logging:
# 分页相关 # 分页相关
#page: #page:
# #
# # 默认每页显示的数据条数 # # 默认每页显示的数据条数
# pageSize: 20 # pageSize: 20
# #
# # 每页最大条数,防止分页过大导致系统缓慢或内存溢出 # # 每页最大条数,防止分页过大导致系统缓慢或内存溢出
# maxPageSize: 999 # maxPageSize: 999
# 用户相关 # 用户相关
user: user:
# # 指定超级管理员编号(研发团队使用的账号) # # 指定超级管理员编号(研发团队使用的账号)
# superAdminCode: system # superAdminCode: system
# #
@@ -323,13 +323,13 @@ user:
# #
# # 系统管理员角色编号(客户方管理员使用的角色) # # 系统管理员角色编号(客户方管理员使用的角色)
# corpAdminRoleCode: corpAdmin # corpAdminRoleCode: corpAdmin
# #
# # 二级管理员的控制权限类型1拥有的权限 2管理的权限管理功能包括用户管理、组织机构、公司管理等v4.1.5+ # # 二级管理员的控制权限类型1拥有的权限 2管理的权限管理功能包括用户管理、组织机构、公司管理等v4.1.5+
# adminCtrlPermi: 2 # adminCtrlPermi: 2
# 多租户模式SAAS模式专业版 # 多租户模式SAAS模式专业版
useCorpModel: false useCorpModel: false
# # 登录账号是否租户内唯一,否则全局唯一 # # 登录账号是否租户内唯一,否则全局唯一
# loginCodeCorpUnique: false # loginCodeCorpUnique: false
# #
@@ -388,9 +388,9 @@ user:
# # 以方便读取树结构数据权限的表时包含子节点,举例如下: # # 以方便读取树结构数据权限的表时包含子节点,举例如下:
# # ctrlDataAttrName: "officeCodesAndChildren", ctrlDataParentCodesAttrName: "" # # ctrlDataAttrName: "officeCodesAndChildren", ctrlDataParentCodesAttrName: ""
# dataScopeApiMode: false # dataScopeApiMode: false
# 角色管理 # 角色管理
#role: #role:
# # 扩展数据权限定义3本部门4本公司5本部门和本公司 # # 扩展数据权限定义3本部门4本公司5本部门和本公司
# extendDataScopes: > # extendDataScopes: >
# { # {
@@ -444,22 +444,22 @@ user:
# 国际化管理(专业版) # 国际化管理(专业版)
lang: lang:
enabled: false enabled: false
# # 默认语言4.1.3+ # # 默认语言4.1.3+
# defaultLocale: zh_CN # defaultLocale: zh_CN
# # 默认时区4.1.3+ # # 默认时区4.1.3+
# defaultTimeZone: GMT+08:00 # defaultTimeZone: GMT+08:00
# 任务调度(标准版) # 任务调度(标准版)
job: job:
enabled: false enabled: false
# # 是否自动启动任务调度(可关闭) # # 是否自动启动任务调度(可关闭)
# autoStartup: true # autoStartup: true
# #
# # 任务调度启动延迟设置(单位:秒)(建议设置项目启动完成后的时间) # # 任务调度启动延迟设置(单位:秒)(建议设置项目启动完成后的时间)
# startupDelay: 60 # startupDelay: 60
# #
# # 任务调度线程池 # # 任务调度线程池
# threadPool: # threadPool:
# threadCount: 10 # threadCount: 10
@@ -499,7 +499,7 @@ job:
# 代码生成 # 代码生成
gen: gen:
enabled: true enabled: true
# # 表名字段名是否强制小写 # # 表名字段名是否强制小写
# forceLowerCase: true # forceLowerCase: true
@@ -513,7 +513,7 @@ state:
# Shiro 相关 # Shiro 相关
shiro: shiro:
# 主页路径 # 主页路径
defaultPath: ${shiro.loginUrl} defaultPath: ${shiro.loginUrl}
@@ -549,36 +549,36 @@ shiro:
#secretKey: thinkgem,jeesite,com #secretKey: thinkgem,jeesite,com
secretKey: Base64 secretKey: Base64
#secretKey: ~ #secretKey: ~
# 记住我密钥设置,你可以通过 com.jeesite.test.RememberMeKeyGen 类快速生成一个秘钥。 # 记住我密钥设置,你可以通过 com.jeesite.test.RememberMeKeyGen 类快速生成一个秘钥。
# 若不设置,则每次启动系统后自动生成一个新秘钥,这样会导致每次重启后,客户端记录的用户信息将失效。 # 若不设置,则每次启动系统后自动生成一个新秘钥,这样会导致每次重启后,客户端记录的用户信息将失效。
rememberMe: rememberMe:
secretKey: ~ secretKey: ~
# # 指定获取客户端IP的Header名称防止IP伪造。指定为空则使用原生方法获取IP。 # # 指定获取客户端IP的Header名称防止IP伪造。指定为空则使用原生方法获取IP。
# remoteAddrHeaderName: X-Forwarded-For # remoteAddrHeaderName: X-Forwarded-For
# #
# # 允许的请求方法设定解决安全审计问题BPM设计器用到了PUT或DELETE方法 # # 允许的请求方法设定解决安全审计问题BPM设计器用到了PUT或DELETE方法
# allowRequestMethods: GET, POST, OPTIONS, PUT, DELETE # allowRequestMethods: GET, POST, OPTIONS, PUT, DELETE
# #
# # 是否允许账号多地登录如果设置为false同一个设备类型的其它地点登录的相同账号被踢下线 # # 是否允许账号多地登录如果设置为false同一个设备类型的其它地点登录的相同账号被踢下线
# isAllowMultiAddrLogin: true # isAllowMultiAddrLogin: true
# #
# # 是否允许多账号多设备登录如果设置为false其它地点登录的相同账号全部登录设备将被踢下线 # # 是否允许多账号多设备登录如果设置为false其它地点登录的相同账号全部登录设备将被踢下线
# isAllowMultiDeviceLogin: true # isAllowMultiDeviceLogin: true
# #
# # 是否允许刷新主框架页如果设置为false刷新主页将导致重新登录。如安全性比较高的如银行个人首页不允许刷新。 # # 是否允许刷新主框架页如果设置为false刷新主页将导致重新登录。如安全性比较高的如银行个人首页不允许刷新。
# isAllowRefreshIndex: true # isAllowRefreshIndex: true
# #
# # 是否允许嵌入到外部网站iframe中true不限制false不允许 # # 是否允许嵌入到外部网站iframe中true不限制false不允许
# isAllowExternalSiteIframe: true # isAllowExternalSiteIframe: true
# #
# # 设定允许获取的资源列表v4.2.3 # # 设定允许获取的资源列表v4.2.3
# #contentSecurityPolicy: "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; img-src 'self' 'unsafe-inline' 'unsafe-eval' data:" # #contentSecurityPolicy: "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; img-src 'self' 'unsafe-inline' 'unsafe-eval' data:"
# # 是否允许跨域访问 CORS如果允许设置允许的域名。v4.2.3 开始支持多个域名和模糊匹配例如http://*.jeesite.com,http://*.jeesite.net # # 是否允许跨域访问 CORS如果允许设置允许的域名。v4.2.3 开始支持多个域名和模糊匹配例如http://*.jeesite.com,http://*.jeesite.net
# accessControlAllowOrigin: '*' # accessControlAllowOrigin: '*'
# #
# # 允许跨域访问时 CORS可以获取和返回的方法和请求头 # # 允许跨域访问时 CORS可以获取和返回的方法和请求头
# accessControlAllowMethods: GET, POST, OPTIONS # accessControlAllowMethods: GET, POST, OPTIONS
# accessControlAllowHeaders: content-type, x-requested-with, x-ajax, x-token, x-remember # accessControlAllowHeaders: content-type, x-requested-with, x-ajax, x-token, x-remember
@@ -586,7 +586,7 @@ shiro:
# # 是否允许接收跨域的Cookie凭证数据 CORS # # 是否允许接收跨域的Cookie凭证数据 CORS
# accessControlAllowCredentials: false # accessControlAllowCredentials: false
# #
# # 允许的网站来源地址,不设置为全部地址(避免一些跨站点请求伪造 CSRF、防盗链 # # 允许的网站来源地址,不设置为全部地址(避免一些跨站点请求伪造 CSRF、防盗链
# allowReferers: http://127.0.0.1,http://localhost # allowReferers: http://127.0.0.1,http://localhost
# #
@@ -615,45 +615,45 @@ shiro:
# ${adminPath}/sys/corpAdmin/treeData = anon # ${adminPath}/sys/corpAdmin/treeData = anon
# ${adminPath}/${spring.application.name}/swagger/** = anon # ${adminPath}/${spring.application.name}/swagger/** = anon
# ${adminPath}/** = user # ${adminPath}/** = user
# Session 相关 # Session 相关
session: session:
# 会话超时时间单位毫秒10m=600000, 20m=1200000ms, 30m=1800000ms, 60m=3600000ms, 12h=43200000ms, 1day=86400000ms # 会话超时时间单位毫秒10m=600000, 20m=1200000ms, 30m=1800000ms, 60m=3600000ms, 12h=43200000ms, 1day=86400000ms
# 注意如果超时超过30m你还需要同步修改当前配置文件的属性j2cache.caffeine.region.sessionCache 超时时间,大于这个值。 # 注意如果超时超过30m你还需要同步修改当前配置文件的属性j2cache.caffeine.region.sessionCache 超时时间,大于这个值。
# 游客会话超时时间只访问了系统但未登录系统的用户为游客游客默认超时时间为10分钟未登录系统时的图片验证码有效时间。 # 游客会话超时时间只访问了系统但未登录系统的用户为游客游客默认超时时间为10分钟未登录系统时的图片验证码有效时间。
sessionTimeout: 180000 sessionTimeout: 180000
# 登录系统后的用户超时时间(不明确 param_deviceType 参数的,默认设备为 pc 登录) # 登录系统后的用户超时时间(不明确 param_deviceType 参数的,默认设备为 pc 登录)
pcSessionTimeout: 1800000 pcSessionTimeout: 1800000
# # 手机APP设备会话超时参数设置登录请求参数加 param_deviceType=mobileApp 时有效,一般情况无需设置 # # 手机APP设备会话超时参数设置登录请求参数加 param_deviceType=mobileApp 时有效,一般情况无需设置
# mobileAppSessionTimeout: 1800000 # mobileAppSessionTimeout: 1800000
# #
# # 定时清理失效会话,清理用户直接关闭浏览器造成的孤立会话(设置为 0 关闭,微服务下只开启 core 即可) # # 定时清理失效会话,清理用户直接关闭浏览器造成的孤立会话(设置为 0 关闭,微服务下只开启 core 即可)
# sessionTimeoutClean: 1200000 # sessionTimeoutClean: 1200000
# #
# # 会话唯一标识SessionId在Cookie中的名称。 # # 会话唯一标识SessionId在Cookie中的名称。
# sessionIdCookieName: jeesite.session.id # sessionIdCookieName: jeesite.session.id
# #sessionIdCookiePath: ${server.servlet.context-path} # #sessionIdCookiePath: ${server.servlet.context-path}
# #
# # 共享的SessionId的Cookie名称保存到跟路径下第三方应用获取。同一域名下多个项目时需设置共享Cookie的名称。 # # 共享的SessionId的Cookie名称保存到跟路径下第三方应用获取。同一域名下多个项目时需设置共享Cookie的名称。
# shareSessionIdCookieName: ${session.sessionIdCookieName} # shareSessionIdCookieName: ${session.sessionIdCookieName}
# #
# # 其它 SimpleCookie 参数v4.2.3 # # 其它 SimpleCookie 参数v4.2.3
# sessionIdCookieSecure: false # sessionIdCookieSecure: false
# sessionIdCookieHttpOnly: true # sessionIdCookieHttpOnly: true
# sessionIdCookieSameSite: LAX # sessionIdCookieSameSite: LAX
# #
# # 设置接收 SessionId 请求参数和请求头的名称 # # 设置接收 SessionId 请求参数和请求头的名称
# sessionIdParamName: __sid # sessionIdParamName: __sid
# sessionIdHeaderName: x-token # sessionIdHeaderName: x-token
# #
# # 当直接通过 __sid 参数浏览器访问页面时,可将直接将 __sid 写入 Cookie 应用于后面的访问 # # 当直接通过 __sid 参数浏览器访问页面时,可将直接将 __sid 写入 Cookie 应用于后面的访问
# # 访问地址举例http://host/js/a/index?__sid=123456&__cookie=true # # 访问地址举例http://host/js/a/index?__sid=123456&__cookie=true
# writeCookieParamName: __cookie # writeCookieParamName: __cookie
# #
# # 记住我的请求参数和请求头的名称v4.2.3 # # 记住我的请求参数和请求头的名称v4.2.3
# rememberMeHeaderName: x-remember # rememberMeHeaderName: x-remember
@@ -666,7 +666,7 @@ session:
# #[cacheName]: size, xxxx[s|m|h|d] # #[cacheName]: size, xxxx[s|m|h|d]
# default: 10000, 1h # default: 10000, 1h
# sessionCache: 100000, 12h # sessionCache: 100000, 12h
# #
# # 二级缓存 # # 二级缓存
# redis: # redis:
# # 存储模式 generic|hash # # 存储模式 generic|hash
@@ -682,7 +682,7 @@ session:
# maxPoolSize: 20 # maxPoolSize: 20
# keepAliveSeconds: 60 # keepAliveSeconds: 60
# queueCapacity: 1000 # queueCapacity: 1000
# #
# # 通知订阅 # # 通知订阅
# broadcast: # broadcast:
# # 缓存清理模式 # # 缓存清理模式
@@ -693,19 +693,19 @@ session:
# MyBatis 相关 # MyBatis 相关
mybatis: mybatis:
# @MyBatisDao、Aliases 扫描基础包,如果多个,用“,”分隔 # @MyBatisDao、Aliases 扫描基础包,如果多个,用“,”分隔
scanBasePackage: com.jeesite.modules scanBasePackage: com.jeesite.modules
# # TypeHandlers 扫描基础包,如果多个,用“,”分隔 # # TypeHandlers 扫描基础包,如果多个,用“,”分隔
# scanTypeHandlersPackage: ~ # scanTypeHandlersPackage: ~
# #
# # 是否开启 JDBC 管理事务,默认 Spring 管理事务 v4.2.3 # # 是否开启 JDBC 管理事务,默认 Spring 管理事务 v4.2.3
# jdbcTransaction: false # jdbcTransaction: false
# #
# # 批量插入和更新的分批默认大小防止库一次性接受不了太大的sql语句 # # 批量插入和更新的分批默认大小防止库一次性接受不了太大的sql语句
# defaultBatchSize: 500 # defaultBatchSize: 500
# Mapper文件刷新线程 # Mapper文件刷新线程
mapper: mapper:
refresh: refresh:
@@ -713,25 +713,25 @@ mybatis:
# delaySeconds: 60 # delaySeconds: 60
# sleepSeconds: 3 # sleepSeconds: 3
# mappingPath: mappings # mappingPath: mappings
# Web 相关 # Web 相关
web: web:
# # AJAX 接受参数名和请求头名v4.3.0 # # AJAX 接受参数名和请求头名v4.3.0
# ajaxParamName: __ajax # ajaxParamName: __ajax
# ajaxHeaderName: x-ajax # ajaxHeaderName: x-ajax
# #
# # MVC 视图相关 # # MVC 视图相关
# view: # view:
# #
# # 系统主题名称,主题视图优先级最高,如果主题下无这个视图文件则访问默认视图 # # 系统主题名称,主题视图优先级最高,如果主题下无这个视图文件则访问默认视图
# # 引入页面头部:'/themes/'+themeName+'/include/header.html' # # 引入页面头部:'/themes/'+themeName+'/include/header.html'
# # 引入页面尾部:'/themes/'+themeName+'/include/footer.html' # # 引入页面尾部:'/themes/'+themeName+'/include/footer.html'
# themeName: default # themeName: default
# #
# # 使用智能参数接收器,同时支持 JSON 和 FormData 的参数接受 # # 使用智能参数接收器,同时支持 JSON 和 FormData 的参数接受
# smartMethodArgumentResolver: true # smartMethodArgumentResolver: true
# #
# # 使用 .json、.xml 后缀匹配返回视图数据Spring官方已不推荐使用 # # 使用 .json、.xml 后缀匹配返回视图数据Spring官方已不推荐使用
# favorPathExtension: false # favorPathExtension: false
# # 使用 __ajax=json、__ajax=xml 后缀匹配返回视图数据 # # 使用 __ajax=json、__ajax=xml 后缀匹配返回视图数据
@@ -741,7 +741,7 @@ web:
# MVC 拦截器 # MVC 拦截器
interceptor: interceptor:
# 后台管理日志记录拦截器 # 后台管理日志记录拦截器
log: log:
enabled: true enabled: true
@@ -758,46 +758,46 @@ web:
${adminPath}/file/**, ${adminPath}/file/**,
${adminPath}/tags/*, ${adminPath}/tags/*,
${adminPath}/msg/** ${adminPath}/msg/**
# 前台自动切换到手机视图拦截器 # 前台自动切换到手机视图拦截器
mobile: mobile:
enabled: false enabled: false
addPathPatterns: > addPathPatterns: >
${frontPath}/** ${frontPath}/**
excludePathPatterns: ~ excludePathPatterns: ~
# # 静态文件后缀,过滤静态文件,以提高访问性能。 # # 静态文件后缀,过滤静态文件,以提高访问性能。
# staticFile: .css,.js,.map,.png,.jpg,.gif,.jpeg,.bmp,.ico,.swf,.psd,.htc,.crx,.xpi,.exe,.ipa,.apk,.otf,.eot,.svg,.ttf,.woff,.woff2 # staticFile: .css,.js,.map,.png,.jpg,.gif,.jpeg,.bmp,.ico,.swf,.psd,.htc,.crx,.xpi,.exe,.ipa,.apk,.otf,.eot,.svg,.ttf,.woff,.woff2
# #
# # 静态文件后缀排除的url路径指定哪些uri路径不进行静态文件过滤。 # # 静态文件后缀排除的url路径指定哪些uri路径不进行静态文件过滤。
# staticFileExcludeUri: /druid/ # staticFileExcludeUri: /druid/
# #
# # 静态资源路径前缀,可做 CDN 加速优化,默认前面增加 ctxPath 前缀,如果前面写 “//” 两个斜杠 或 包含 “://” 不加 ctxPath。 # # 静态资源路径前缀,可做 CDN 加速优化,默认前面增加 ctxPath 前缀,如果前面写 “//” 两个斜杠 或 包含 “://” 不加 ctxPath。
# staticPrefix: /static # staticPrefix: /static
# #
# # 严格模式(更严格的数据安全验证) # # 严格模式(更严格的数据安全验证)
# strictMode: false # strictMode: false
# #
# # 自定义正则表达式验证(主键、登录名) # # 自定义正则表达式验证(主键、登录名)
# validator: # validator:
# id: '[a-zA-Z0-9_\-/#\u4e00-\u9fa5]{0,64}' # id: '[a-zA-Z0-9_\-/#\u4e00-\u9fa5]{0,64}'
# user.loginCode: '[a-zA-Z0-9_\u4e00-\u9fa5]{4,20}' # user.loginCode: '[a-zA-Z0-9_\u4e00-\u9fa5]{4,20}'
# #
# # 默认的日期格式JsonMapper # # 默认的日期格式JsonMapper
# json: # json:
# defaultDateFormat: yyyy-MM-dd HH:mm:ss # defaultDateFormat: yyyy-MM-dd HH:mm:ss
# #
# # 默认不启用(为兼用旧版保留,建议使用 CORS # # 默认不启用(为兼用旧版保留,建议使用 CORS
# jsonp: # jsonp:
# enabled: false # enabled: false
# callback: __callback # callback: __callback
# 核心模块的Web功能仅作为微服务时设为false # 核心模块的Web功能仅作为微服务时设为false
core: core:
enabled: true enabled: true
# 在线API文档工具 # 在线API文档工具
swagger: swagger:
enabled: true enabled: true
# 错误页面500.html是否输出错误信息正式环境为提供安全性可设置为false # 错误页面500.html是否输出错误信息正式环境为提供安全性可设置为false
@@ -812,47 +812,47 @@ error:
# 文件上传 # 文件上传
file: file:
enabled: true enabled: true
# # 文件上传根路径设置路径中不允许包含“userfiles”在指定目录中系统会自动创建userfiles目录如果不设置默认为contextPath路径 # # 文件上传根路径设置路径中不允许包含“userfiles”在指定目录中系统会自动创建userfiles目录如果不设置默认为contextPath路径
# #baseDir: D:/jeesite # #baseDir: D:/jeesite
# #
# # 上传文件的相对路径支持yyyy, MM, dd, HH, mm, ss, E # # 上传文件的相对路径支持yyyy, MM, dd, HH, mm, ss, E
# uploadPath: '{yyyy}{MM}/' # uploadPath: '{yyyy}{MM}/'
# #
# # 上传单个文件最大字节500M在这之上还有 > Tomcat限制 > Nginx限制此设置会覆盖 spring.http.multipart.maxFileSize 设置 # # 上传单个文件最大字节500M在这之上还有 > Tomcat限制 > Nginx限制此设置会覆盖 spring.http.multipart.maxFileSize 设置
# maxFileSize: '500*1024*1024' # maxFileSize: '500*1024*1024'
# #
# # 设置允许上传的文件后缀(全局设置) # # 设置允许上传的文件后缀(全局设置)
# imageAllowSuffixes: .gif,.bmp,.jpeg,.jpg,.ico,.png,.tif,.tiff, # imageAllowSuffixes: .gif,.bmp,.jpeg,.jpg,.ico,.png,.tif,.tiff,
# mediaAllowSuffixes: .flv,.swf,.mkv,webm,.mid,.mov,.mp3,.mp4,.m4v,.mpc,.mpeg,.mpg,.swf,.wav,.wma,.wmv,.avi,.rm,.rmi,.rmvb,.aiff,.asf,.ogg,.ogv, # mediaAllowSuffixes: .flv,.swf,.mkv,webm,.mid,.mov,.mp3,.mp4,.m4v,.mpc,.mpeg,.mpg,.swf,.wav,.wma,.wmv,.avi,.rm,.rmi,.rmvb,.aiff,.asf,.ogg,.ogv,
# fileAllowSuffixes: .doc,.docx,.rtf,.xls,.xlsx,.csv,.ppt,.pptx,.pdf,.vsd,.txt,.md,.xml,.rar,.zip,.7z,.tar,.tgz,.jar,.gz,.gzip,.bz2,.cab,.iso,.ipa,.apk, # fileAllowSuffixes: .doc,.docx,.rtf,.xls,.xlsx,.csv,.ppt,.pptx,.pdf,.vsd,.txt,.md,.xml,.rar,.zip,.7z,.tar,.tgz,.jar,.gz,.gzip,.bz2,.cab,.iso,.ipa,.apk,
# #
# # 允许上传的文件内容类型图片、word、excel、ppt防止修改后缀恶意上传文件默认不启用验证 # # 允许上传的文件内容类型图片、word、excel、ppt防止修改后缀恶意上传文件默认不启用验证
# #allowContentTypes: image/jpeg,image/gif,image/bmp,image/png,image/x-png, # #allowContentTypes: image/jpeg,image/gif,image/bmp,image/png,image/x-png,
# # application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document, # # application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,
# # application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, # # application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
# # application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation # # application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation
# #
# # 上传图片自动压缩宽高,指定为 -1 不进行压缩(全局设置) v4.1.7 # # 上传图片自动压缩宽高,指定为 -1 不进行压缩(全局设置) v4.1.7
# imageMaxWidth: 1024 # imageMaxWidth: 1024
# imageMaxHeight: 768 # imageMaxHeight: 768
# #
# # 是否启用秒传 # # 是否启用秒传
# checkmd5: true # checkmd5: true
# #
# # 是否开启分片上传 # # 是否开启分片上传
# chunked: true # chunked: true
# # 分片大小单位字节10M # # 分片大小单位字节10M
# chunkSize: '10*1024*1024' # chunkSize: '10*1024*1024'
# # 最大上传线程数 # # 最大上传线程数
# threads: 3 # threads: 3
# #
# # 是否启用检查点(支持断点续传,上传) # # 是否启用检查点(支持断点续传,上传)
# checkpoint: true # checkpoint: true
# #
# # 是否用文件流方式下载(支持断点续传,下载) # # 是否用文件流方式下载(支持断点续传,下载)
# isFileStreamDown: true # isFileStreamDown: true
# 视频转码 # 视频转码
#video: #video:
# #
@@ -877,7 +877,7 @@ file:
# 消息提醒中心(专业版) # 消息提醒中心(专业版)
msg: msg:
enabled: false enabled: false
# # 是否开启实时发送消息(保存消息后立即检查未读消息并发送),分布式部署下请单独配置消息发送服务,不建议开启此选项。 # # 是否开启实时发送消息(保存消息后立即检查未读消息并发送),分布式部署下请单独配置消息发送服务,不建议开启此选项。
# realtime: # realtime:
# # 是否开启 # # 是否开启