You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
dynamic:
|
|
|
|
|
# 设置默认的数据源或者数据源组,默认值即为 master
|
|
|
|
|
primary: master
|
|
|
|
|
datasource:
|
|
|
|
|
# 主库数据源
|
|
|
|
|
master:
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
url: ${datasource.system-master.url}
|
|
|
|
|
username: ${datasource.system-master.username}
|
|
|
|
|
password: ${datasource.system-master.password}
|
|
|
|
|
# 从库数据源
|
|
|
|
|
#slave:
|
|
|
|
|
# lazy: true
|
|
|
|
|
# driver-class-name:
|
|
|
|
|
# url:
|
|
|
|
|
# username:
|
|
|
|
|
# password:
|
|
|
|
|
|
|
|
|
|
# 代码生成
|
|
|
|
|
gen:
|
|
|
|
|
# 作者
|
|
|
|
|
author: ruoyi
|
|
|
|
|
# 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
|
|
|
|
|
packageName: com.ruoyi.system
|
|
|
|
|
# 自动去除表前缀,默认是false
|
|
|
|
|
autoRemovePre: false
|
|
|
|
|
# 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
|
|
|
|
|
tablePrefix: sys_
|