更新配置
This commit is contained in:
@@ -107,13 +107,13 @@ frontPath: /f
|
|||||||
|
|
||||||
# 分页相关
|
# 分页相关
|
||||||
page:
|
page:
|
||||||
|
|
||||||
# 分页默认大小
|
# 分页默认大小
|
||||||
pageSize: 20
|
pageSize: 20
|
||||||
|
|
||||||
# 用户相关
|
# 用户相关
|
||||||
user:
|
user:
|
||||||
|
|
||||||
# 指定超级管理员编号(研发团队使用的账号)
|
# 指定超级管理员编号(研发团队使用的账号)
|
||||||
superAdminCode: system
|
superAdminCode: system
|
||||||
|
|
||||||
@@ -240,7 +240,7 @@ lang:
|
|||||||
# 任务调度(个人版)
|
# 任务调度(个人版)
|
||||||
job:
|
job:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
# 是否自动启动任务调度(可关闭)
|
# 是否自动启动任务调度(可关闭)
|
||||||
autoStartup: true
|
autoStartup: true
|
||||||
|
|
||||||
@@ -303,7 +303,7 @@ state:
|
|||||||
|
|
||||||
# Shiro 相关配置
|
# Shiro 相关配置
|
||||||
shiro:
|
shiro:
|
||||||
|
|
||||||
#索引页路径
|
#索引页路径
|
||||||
defaultPath: ${shiro.loginUrl}
|
defaultPath: ${shiro.loginUrl}
|
||||||
|
|
||||||
@@ -417,7 +417,7 @@ shiro:
|
|||||||
|
|
||||||
# Session 相关
|
# Session 相关
|
||||||
session:
|
session:
|
||||||
|
|
||||||
# 全局会话超时,单位:毫秒, 20m=1200000ms, 30m=1800000ms, 60m=3600000ms, 12h=43200000ms, 1day=86400000ms
|
# 全局会话超时,单位:毫秒, 20m=1200000ms, 30m=1800000ms, 60m=3600000ms, 12h=43200000ms, 1day=86400000ms
|
||||||
# 注意:如果超时超过30m,你还需要同步修改 j2cache.properties 文件的 caffeine.region.sessionCache 超时时间,大于这个值。
|
# 注意:如果超时超过30m,你还需要同步修改 j2cache.properties 文件的 caffeine.region.sessionCache 超时时间,大于这个值。
|
||||||
sessionTimeout: 1800000
|
sessionTimeout: 1800000
|
||||||
@@ -440,7 +440,7 @@ session:
|
|||||||
|
|
||||||
# MyBatis 相关
|
# MyBatis 相关
|
||||||
mybatis:
|
mybatis:
|
||||||
|
|
||||||
# @MyBatisDao、Aliases 扫描基础包,如果多个,用“,”分隔
|
# @MyBatisDao、Aliases 扫描基础包,如果多个,用“,”分隔
|
||||||
scanBasePackage: com.jeesite.modules
|
scanBasePackage: com.jeesite.modules
|
||||||
|
|
||||||
@@ -538,10 +538,10 @@ 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}/'
|
||||||
|
|
||||||
@@ -575,7 +575,7 @@ file:
|
|||||||
|
|
||||||
# 视频转码
|
# 视频转码
|
||||||
video:
|
video:
|
||||||
|
|
||||||
# 视频格式转换 ffmpeg.exe 所放的路径
|
# 视频格式转换 ffmpeg.exe 所放的路径
|
||||||
ffmpegFile: d:/tools/video/ffmpeg-4.9/bin/ffmpeg.exe
|
ffmpegFile: d:/tools/video/ffmpeg-4.9/bin/ffmpeg.exe
|
||||||
# ffmpegFile: d:/tools/video/libav-10.6-win64/bin/avconv.exe
|
# ffmpegFile: d:/tools/video/libav-10.6-win64/bin/avconv.exe
|
||||||
@@ -603,7 +603,7 @@ msg:
|
|||||||
|
|
||||||
# 推送失败次数,如果推送次数超过了设定次数,仍不成功,则放弃并保存到历史
|
# 推送失败次数,如果推送次数超过了设定次数,仍不成功,则放弃并保存到历史
|
||||||
pushFailNumber: 3
|
pushFailNumber: 3
|
||||||
|
|
||||||
# 邮件发送参数
|
# 邮件发送参数
|
||||||
email:
|
email:
|
||||||
beanName: emailSendService
|
beanName: emailSendService
|
||||||
@@ -612,7 +612,7 @@ msg:
|
|||||||
fromHostName: smtp.163.com
|
fromHostName: smtp.163.com
|
||||||
sslOnConnect: true
|
sslOnConnect: true
|
||||||
sslSmtpPort: 465
|
sslSmtpPort: 465
|
||||||
|
|
||||||
# 短信网关
|
# 短信网关
|
||||||
sms:
|
sms:
|
||||||
beanName: smsSendService
|
beanName: smsSendService
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ jdbc:
|
|||||||
# Mysql 数据库配置
|
# Mysql 数据库配置
|
||||||
type: mysql
|
type: mysql
|
||||||
driver: com.mysql.cj.jdbc.Driver
|
driver: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://127.0.0.1:3306/jeesite?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&serverTimezone=UTC
|
url: jdbc:mysql://127.0.0.1:3306/jeesite?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=UTC
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
testSql: SELECT 1
|
testSql: SELECT 1
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ jdbc:
|
|||||||
|
|
||||||
# Mysql 数据库配置
|
# Mysql 数据库配置
|
||||||
type: mysql
|
type: mysql
|
||||||
driver: com.mysql.jdbc.Driver
|
driver: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://192.168.56.1:3306/jeesite?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
|
url: jdbc:mysql://192.168.56.1:3306/jeesite?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=UTC
|
||||||
username: jeesite
|
username: jeesite
|
||||||
password: jeesite
|
password: jeesite
|
||||||
testSql: SELECT 1
|
testSql: SELECT 1
|
||||||
|
|||||||
@@ -120,8 +120,8 @@ jdbc:
|
|||||||
# # 多数据源配置:ds2
|
# # 多数据源配置:ds2
|
||||||
# ds2:
|
# ds2:
|
||||||
# type: mysql
|
# type: mysql
|
||||||
# driver: com.mysql.jdbc.Driver
|
# driver: com.mysql.cj.jdbc.Driver
|
||||||
# url: jdbc:mysql://127.0.0.1:3306/jeesite2?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
|
# url: jdbc:mysql://127.0.0.1:3306/jeesite2?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=UTC
|
||||||
# username: root
|
# username: root
|
||||||
# password: 123456
|
# password: 123456
|
||||||
# testSql: SELECT 1
|
# testSql: SELECT 1
|
||||||
@@ -132,10 +132,10 @@ jdbc:
|
|||||||
# init: 1
|
# init: 1
|
||||||
# minIdle: 3
|
# minIdle: 3
|
||||||
# maxActive: 20
|
# maxActive: 20
|
||||||
|
#
|
||||||
# JTA 分布式事务,建议启用多数据源的时候开启(v4.0.4+)
|
# # JTA 分布式事务,建议启用多数据源的时候开启(v4.0.4+)
|
||||||
jta:
|
# jta:
|
||||||
enabled: true
|
# enabled: false
|
||||||
|
|
||||||
# 注意:如果报 oracle.jdbc.xa.OracleXAResource.recover 错误,则需要授权如下:
|
# 注意:如果报 oracle.jdbc.xa.OracleXAResource.recover 错误,则需要授权如下:
|
||||||
# grant select on sys.dba_pending_transactions to jeesite;
|
# grant select on sys.dba_pending_transactions to jeesite;
|
||||||
@@ -167,27 +167,27 @@ spring:
|
|||||||
main:
|
main:
|
||||||
bannerMode: "off"
|
bannerMode: "off"
|
||||||
|
|
||||||
# Redis 连接参数 (RedisProperties)
|
# # Redis 连接参数 (RedisProperties)
|
||||||
redis:
|
# redis:
|
||||||
host: 127.0.0.1
|
# host: 127.0.0.1
|
||||||
port: 6379
|
# port: 6379
|
||||||
ssl: false
|
# ssl: false
|
||||||
database: 0
|
# database: 0
|
||||||
password: 1234
|
# password: 1234
|
||||||
timeout: 2000
|
# timeout: 2000
|
||||||
lettuce:
|
# lettuce:
|
||||||
pool:
|
# pool:
|
||||||
# 最大空闲连接数
|
# # 最大空闲连接数
|
||||||
maxIdle: 3
|
# maxIdle: 3
|
||||||
# 最大活动连接数
|
# # 最大活动连接数
|
||||||
maxActive: 20
|
# maxActive: 20
|
||||||
|
#
|
||||||
# 缓存配置
|
# # 缓存配置
|
||||||
cache:
|
# cache:
|
||||||
# 缓存及会话共享(专业版)
|
# # 缓存及会话共享(专业版)
|
||||||
isClusterMode: true
|
# isClusterMode: false
|
||||||
# 清理全部缓存按钮所清理的缓存列表
|
# # 清理全部缓存按钮所清理的缓存列表
|
||||||
clearNames: sysCache,corpCache,userCache,cmsCache,msgPcPoolCache
|
# clearNames: sysCache,corpCache,userCache,cmsCache,msgPcPoolCache
|
||||||
|
|
||||||
# 日志配置
|
# 日志配置
|
||||||
logging:
|
logging:
|
||||||
@@ -210,8 +210,8 @@ logging:
|
|||||||
# pageSize: 20
|
# pageSize: 20
|
||||||
|
|
||||||
# 用户相关
|
# 用户相关
|
||||||
user:
|
#user:
|
||||||
|
#
|
||||||
# # 指定超级管理员编号(研发团队使用的账号)
|
# # 指定超级管理员编号(研发团队使用的账号)
|
||||||
# superAdminCode: system
|
# superAdminCode: system
|
||||||
#
|
#
|
||||||
@@ -267,9 +267,9 @@ user:
|
|||||||
#
|
#
|
||||||
# # 管理功能的控制权限类型(1拥有的权限 2管理的权限)(v4.1.5+)
|
# # 管理功能的控制权限类型(1拥有的权限 2管理的权限)(v4.1.5+)
|
||||||
# adminCtrlPermi: 2
|
# adminCtrlPermi: 2
|
||||||
|
#
|
||||||
# 多租户模式(SAAS模式)(专业版)
|
# # 多租户模式(SAAS模式)(专业版)
|
||||||
useCorpModel: true
|
# useCorpModel: false
|
||||||
|
|
||||||
# 菜单管理
|
# 菜单管理
|
||||||
#menu:
|
#menu:
|
||||||
@@ -277,18 +277,18 @@ user:
|
|||||||
# updateStatusByModuleStatus: false
|
# updateStatusByModuleStatus: false
|
||||||
|
|
||||||
# 国际化管理(专业版)
|
# 国际化管理(专业版)
|
||||||
lang:
|
#lang:
|
||||||
enabled: true
|
# 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: true
|
# enabled: false
|
||||||
|
#
|
||||||
# # 是否自动启动任务调度(可关闭)
|
# # 是否自动启动任务调度(可关闭)
|
||||||
# autoStartup: true
|
# autoStartup: true
|
||||||
#
|
#
|
||||||
@@ -342,7 +342,7 @@ job:
|
|||||||
|
|
||||||
# Shiro 相关配置
|
# Shiro 相关配置
|
||||||
shiro:
|
shiro:
|
||||||
|
|
||||||
# #索引页路径
|
# #索引页路径
|
||||||
# defaultPath: ${shiro.loginUrl}
|
# defaultPath: ${shiro.loginUrl}
|
||||||
#
|
#
|
||||||
@@ -420,7 +420,7 @@ shiro:
|
|||||||
|
|
||||||
# Session 相关
|
# Session 相关
|
||||||
#session:
|
#session:
|
||||||
#
|
#
|
||||||
# # 全局会话超时,单位:毫秒, 20m=1200000ms, 30m=1800000ms, 60m=3600000ms, 12h=43200000ms, 1day=86400000ms
|
# # 全局会话超时,单位:毫秒, 20m=1200000ms, 30m=1800000ms, 60m=3600000ms, 12h=43200000ms, 1day=86400000ms
|
||||||
# # 注意:如果超时超过30m,你还需要同步修改 j2cache.properties 文件的 caffeine.region.sessionCache 超时时间,大于这个值。
|
# # 注意:如果超时超过30m,你还需要同步修改 j2cache.properties 文件的 caffeine.region.sessionCache 超时时间,大于这个值。
|
||||||
# sessionTimeout: 1800000
|
# sessionTimeout: 1800000
|
||||||
@@ -440,7 +440,7 @@ shiro:
|
|||||||
|
|
||||||
# MyBatis 相关
|
# MyBatis 相关
|
||||||
#mybatis:
|
#mybatis:
|
||||||
#
|
#
|
||||||
# # @MyBatisDao、Aliases 扫描基础包,如果多个,用“,”分隔
|
# # @MyBatisDao、Aliases 扫描基础包,如果多个,用“,”分隔
|
||||||
# scanBasePackage: com.jeesite.modules
|
# scanBasePackage: com.jeesite.modules
|
||||||
#
|
#
|
||||||
@@ -529,10 +529,10 @@ shiro:
|
|||||||
|
|
||||||
#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}/'
|
||||||
#
|
#
|
||||||
@@ -549,7 +549,7 @@ shiro:
|
|||||||
## 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
|
||||||
@@ -566,7 +566,7 @@ shiro:
|
|||||||
|
|
||||||
#视频转码
|
#视频转码
|
||||||
#video:
|
#video:
|
||||||
#
|
#
|
||||||
# # 视频格式转换 ffmpeg.exe 所放的路径
|
# # 视频格式转换 ffmpeg.exe 所放的路径
|
||||||
# ffmpegFile: d:/tools/video/ffmpeg-4.9/bin/ffmpeg.exe
|
# ffmpegFile: d:/tools/video/ffmpeg-4.9/bin/ffmpeg.exe
|
||||||
## ffmpegFile: d:/tools/video/libav-10.6-win64/bin/avconv.exe
|
## ffmpegFile: d:/tools/video/libav-10.6-win64/bin/avconv.exe
|
||||||
@@ -582,14 +582,14 @@ shiro:
|
|||||||
#======================================#
|
#======================================#
|
||||||
|
|
||||||
# 消息提醒中心(专业版)
|
# 消息提醒中心(专业版)
|
||||||
msg:
|
#msg:
|
||||||
enabled: true
|
# enabled: false
|
||||||
|
#
|
||||||
# # 是否开启实时发送消息(保存消息后立即检查未读消息并发送),分布式部署下请单独配置消息发送服务,不建议开启此选项。
|
# # 是否开启实时发送消息(保存消息后立即检查未读消息并发送),分布式部署下请单独配置消息发送服务,不建议开启此选项。
|
||||||
# realtime:
|
# realtime:
|
||||||
# # 是否开启
|
# # 是否开启
|
||||||
# enabled: true
|
# enabled: true
|
||||||
|
|
||||||
# # 推送失败次数,如果推送次数超过了设定次数,仍不成功,则放弃并保存到历史
|
# # 推送失败次数,如果推送次数超过了设定次数,仍不成功,则放弃并保存到历史
|
||||||
# pushFailNumber: 3
|
# pushFailNumber: 3
|
||||||
|
|
||||||
@@ -601,7 +601,7 @@ msg:
|
|||||||
# fromHostName: smtp.163.com
|
# fromHostName: smtp.163.com
|
||||||
# sslOnConnect: false
|
# sslOnConnect: false
|
||||||
# sslSmtpPort: 994
|
# sslSmtpPort: 994
|
||||||
#
|
#
|
||||||
# # 短信网关
|
# # 短信网关
|
||||||
# sms:
|
# sms:
|
||||||
# beanName: smsSendService
|
# beanName: smsSendService
|
||||||
|
|||||||
Reference in New Issue
Block a user