更新配置

This commit is contained in:
thinkgem
2020-03-29 22:02:50 +08:00
parent 36bcc65cd1
commit 9c8c1a8935
4 changed files with 64 additions and 64 deletions

View File

@@ -13,7 +13,7 @@ jdbc:
# Mysql 数据库配置
type: mysql
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
password: 123456
testSql: SELECT 1

View File

@@ -4,8 +4,8 @@ jdbc:
# Mysql 数据库配置
type: mysql
driver: com.mysql.jdbc.Driver
url: jdbc:mysql://192.168.56.1:3306/jeesite?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
driver: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.56.1:3306/jeesite?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=UTC
username: jeesite
password: jeesite
testSql: SELECT 1

View File

@@ -120,8 +120,8 @@ jdbc:
# # 多数据源配置ds2
# ds2:
# type: mysql
# driver: com.mysql.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/jeesite2?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
# driver: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/jeesite2?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=UTC
# username: root
# password: 123456
# testSql: SELECT 1
@@ -132,10 +132,10 @@ jdbc:
# init: 1
# minIdle: 3
# maxActive: 20
# JTA 分布式事务建议启用多数据源的时候开启v4.0.4+
jta:
enabled: true
#
# # JTA 分布式事务建议启用多数据源的时候开启v4.0.4+
# jta:
# enabled: false
# 注意:如果报 oracle.jdbc.xa.OracleXAResource.recover 错误,则需要授权如下:
# grant select on sys.dba_pending_transactions to jeesite;
@@ -167,27 +167,27 @@ spring:
main:
bannerMode: "off"
# Redis 连接参数 RedisProperties
redis:
host: 127.0.0.1
port: 6379
ssl: false
database: 0
password: 1234
timeout: 2000
lettuce:
pool:
# 最大空闲连接数
maxIdle: 3
# 最大活动连接数
maxActive: 20
# 缓存配置
cache:
# 缓存及会话共享(专业版)
isClusterMode: true
# 清理全部缓存按钮所清理的缓存列表
clearNames: sysCache,corpCache,userCache,cmsCache,msgPcPoolCache
# # Redis 连接参数 RedisProperties
# redis:
# host: 127.0.0.1
# port: 6379
# ssl: false
# database: 0
# password: 1234
# timeout: 2000
# lettuce:
# pool:
# # 最大空闲连接数
# maxIdle: 3
# # 最大活动连接数
# maxActive: 20
#
# # 缓存配置
# cache:
# # 缓存及会话共享(专业版)
# isClusterMode: false
# # 清理全部缓存按钮所清理的缓存列表
# clearNames: sysCache,corpCache,userCache,cmsCache,msgPcPoolCache
# 日志配置
logging:
@@ -210,8 +210,8 @@ logging:
# pageSize: 20
# 用户相关
user:
#user:
#
# # 指定超级管理员编号(研发团队使用的账号)
# superAdminCode: system
#
@@ -267,9 +267,9 @@ user:
#
# # 管理功能的控制权限类型1拥有的权限 2管理的权限v4.1.5+
# adminCtrlPermi: 2
# 多租户模式SAAS模式专业版
useCorpModel: true
#
# # 多租户模式SAAS模式专业版
# useCorpModel: false
# 菜单管理
#menu:
@@ -277,18 +277,18 @@ user:
# updateStatusByModuleStatus: false
# 国际化管理(专业版)
lang:
enabled: true
#lang:
# enabled: false
#
# # 默认语言4.1.3+
# defaultLocale: zh_CN
# # 默认时区4.1.3+
# defaultTimeZone: GMT+08:00
# 任务调度(个人版)
job:
enabled: true
#job:
# enabled: false
#
# # 是否自动启动任务调度(可关闭)
# autoStartup: true
#
@@ -582,9 +582,9 @@ shiro:
#======================================#
# 消息提醒中心(专业版)
msg:
enabled: true
#msg:
# enabled: false
#
# # 是否开启实时发送消息(保存消息后立即检查未读消息并发送),分布式部署下请单独配置消息发送服务,不建议开启此选项。
# realtime:
# # 是否开启