Commit 6ae10dfe by qiuweili123

优化

parent fff260bb
......@@ -104,6 +104,7 @@ public class EncryptorFactory<T> {
* 如果无法从远程创建解密对象,则进行降级处理
*/
if (Objects.isNull(encryptor)) {
log.warn("load remote encryptor fail.use default encryptor");
encryptor = new Encryptor<T>() {
@Override
public T encrypt(T value) {
......
......@@ -58,7 +58,7 @@ public class MatrixMybatisAutoConfiguration {
@Bean
@ConditionalOnMissingBean(DataSource.class)
public DataSource dataSource() {
return new MatrixDataSource("01-rw");
return new MatrixDataSource("default");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment