mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-23 19:08:35 +08:00
update sharding-proxy 5.3.2 => 5.4.0 配置文件写法升级
This commit is contained in:
@@ -16,13 +16,13 @@
|
||||
#
|
||||
|
||||
######################################################################################################
|
||||
#
|
||||
#
|
||||
# Here you can configure the rules for the proxy.
|
||||
# This example is configuration of encrypt rule.
|
||||
#
|
||||
#
|
||||
######################################################################################################
|
||||
#
|
||||
#schemaName: encrypt_db
|
||||
#databaseName: encrypt_db
|
||||
#
|
||||
#dataSources:
|
||||
# ds_0:
|
||||
@@ -51,18 +51,21 @@
|
||||
# type: AES
|
||||
# props:
|
||||
# aes-key-value: 123456abc
|
||||
# md5_encryptor:
|
||||
# type: MD5
|
||||
# rc4_encryptor:
|
||||
# type: RC4
|
||||
# props:
|
||||
# rc4-key-value: 123456abc
|
||||
# tables:
|
||||
# t_encrypt:
|
||||
# columns:
|
||||
# user_id:
|
||||
# plainColumn: user_plain
|
||||
# cipherColumn: user_cipher
|
||||
# encryptorName: aes_encryptor
|
||||
# cipher:
|
||||
# name: user_cipher
|
||||
# encryptorName: aes_encryptor
|
||||
# order_id:
|
||||
# cipherColumn: order_encrypt
|
||||
# encryptorName: md5_encryptor
|
||||
# cipher:
|
||||
# name: order_encrypt
|
||||
# encryptorName: rc4_encryptor
|
||||
|
||||
######################################################################################################
|
||||
#
|
||||
@@ -70,7 +73,7 @@
|
||||
#
|
||||
######################################################################################################
|
||||
#
|
||||
#schemaName: encrypt_db
|
||||
#databaseName: encrypt_db
|
||||
#
|
||||
#dataSources:
|
||||
# ds_0:
|
||||
@@ -99,15 +102,18 @@
|
||||
# type: AES
|
||||
# props:
|
||||
# aes-key-value: 123456abc
|
||||
# md5_encryptor:
|
||||
# type: MD5
|
||||
# rc4_encryptor:
|
||||
# type: RC4
|
||||
# props:
|
||||
# rc4-key-value: 123456abc
|
||||
# tables:
|
||||
# t_encrypt:
|
||||
# columns:
|
||||
# user_id:
|
||||
# plainColumn: user_plain
|
||||
# cipherColumn: user_cipher
|
||||
# encryptorName: aes_encryptor
|
||||
# cipher:
|
||||
# name: user_cipher
|
||||
# encryptorName: aes_encryptor
|
||||
# order_id:
|
||||
# cipherColumn: order_cipher
|
||||
# encryptorName: md5_encryptor
|
||||
# cipher:
|
||||
# name: order_encrypt
|
||||
# encryptorName: rc4_encryptor
|
||||
|
||||
Reference in New Issue
Block a user