update
This commit is contained in:
@@ -42,7 +42,7 @@ public class PropertyLoader implements org.springframework.boot.env.PropertySour
|
|||||||
try {
|
try {
|
||||||
// 默认开启 FastJSON 1.x 的,安全模式
|
// 默认开启 FastJSON 1.x 的,安全模式
|
||||||
ParserConfig.getGlobalInstance().setSafeMode(true);
|
ParserConfig.getGlobalInstance().setSafeMode(true);
|
||||||
} catch (Exception ignored) {
|
} catch (NoSuchMethodError ignored) {
|
||||||
// 兼容 FastJSON 2.x 的调用,忽略异常
|
// 兼容 FastJSON 2.x 的调用,忽略异常
|
||||||
}
|
}
|
||||||
Properties properties = PropertiesUtils.getInstance().getProperties();
|
Properties properties = PropertiesUtils.getInstance().getProperties();
|
||||||
|
|||||||
Reference in New Issue
Block a user