config 调整部分参数默认值

This commit is contained in:
daxpay
2026-08-01 10:13:51 +08:00
parent 4b39d3ed95
commit e7080567fe

View File

@@ -31,7 +31,7 @@ public class PlatformConfigProperties {
private Encrypt encrypt = new Encrypt();
/// 沙箱环境全局开关(关闭后不可切换到沙箱, 已在沙箱的产品启动时自动重置为生产)
private boolean sandboxEnabled = true;
private boolean sandboxEnabled = false;
/// 交易订单定时同步任务全局开关(关闭后交易状态纠正定时任务不生效, 默认开启)
private boolean tradeSyncEnabled = true;
@@ -73,7 +73,7 @@ public class PlatformConfigProperties {
@Accessors(chain = true)
public static class Encrypt {
/// 是否开启加密
private boolean enable = false;
private boolean enable = true;
/// 密钥列表,第一个为当前使用的密钥(用于加密),后续为历史密钥(用于解密)
private List<EncryptKeyInfo> keys = new ArrayList<>();
}