mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-09 08:57:17 +08:00
chore: 升级后端依赖
1.Spring Boot 3.1.5 => 3.1.7(存在 MyBatis Plus 冲突异常,已临时修复) 2.Just Auth 1.16.5 => 1.16.6 3.Redisson 3.24.3 => 3.25.2 4.Easy Excel 3.3.2 => 3.3.3 5.Knife4j 4.3.0 => 4.4.0 6.Hutool 5.8.23 => 5.8.24
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
package top.charles7c.continew.starter.core.autoconfigure.project;
|
||||
|
||||
import cn.hutool.core.convert.Convert;
|
||||
import cn.hutool.extra.spring.SpringUtil;
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
@@ -82,9 +81,8 @@ public class ProjectProperties {
|
||||
public static final boolean IP_ADDR_LOCAL_PARSE_ENABLED;
|
||||
|
||||
static {
|
||||
String underlineCaseProperty = SpringUtil.getProperty("project.ip-addr-local-parse-enabled");
|
||||
String camelCaseProperty = SpringUtil.getProperty("project.ipAddrLocalParseEnabled");
|
||||
IP_ADDR_LOCAL_PARSE_ENABLED = Convert.toBool(underlineCaseProperty, false) || Convert.toBool(camelCaseProperty, false);
|
||||
IP_ADDR_LOCAL_PARSE_ENABLED = SpringUtil.getProperty("project.ip-addr-local-parse-enabled", boolean.class, false)
|
||||
|| SpringUtil.getProperty("project.ipAddrLocalParseEnabled", boolean.class, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user