mirror of
https://github.com/201206030/novel-plus.git
synced 2025-06-28 05:56:38 +00:00
build: 构建生产环境配置
This commit is contained in:
@ -34,7 +34,7 @@ rules:
|
||||
tableStrategy:
|
||||
standard:
|
||||
# 分片列名称
|
||||
shardingColumn: chapter_id
|
||||
shardingColumn: index_id
|
||||
# 分片算法名称
|
||||
shardingAlgorithmName: bookContentSharding
|
||||
|
||||
@ -44,7 +44,7 @@ rules:
|
||||
type: INLINE
|
||||
props:
|
||||
# 分片算法的行表达式
|
||||
algorithm-expression: book_content${chapter_id % 10}
|
||||
algorithm-expression: book_content${index_id % 10}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user