mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 09:55:16 +08:00
feature: 增加了雪花id配置文件,还没有测试
This commit is contained in:
parent
38b7d54507
commit
11dbb3f355
@ -8,7 +8,7 @@ spring:
|
|||||||
master:
|
master:
|
||||||
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
||||||
username: root
|
username: root
|
||||||
password: root
|
password: mm123456
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
slave:
|
slave:
|
||||||
# 从数据源开关/默认关闭
|
# 从数据源开关/默认关闭
|
||||||
|
|||||||
@ -158,7 +158,7 @@ mybatis-plus:
|
|||||||
# INPUT 用户输入ID
|
# INPUT 用户输入ID
|
||||||
# ASSIGN_ID 全局唯一ID
|
# ASSIGN_ID 全局唯一ID
|
||||||
# ASSIGN_UUID 全局唯一ID UUID
|
# ASSIGN_UUID 全局唯一ID UUID
|
||||||
idType: AUTO
|
idType: ASSIGN_ID
|
||||||
# 表名前缀
|
# 表名前缀
|
||||||
tablePrefix: null
|
tablePrefix: null
|
||||||
# 字段 format,例: %s,(对主键无效)
|
# 字段 format,例: %s,(对主键无效)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user