20260117_211010_746
This commit is contained in:
BIN
jar/AuthCenter-202601172049.jar
Normal file
BIN
jar/AuthCenter-202601172049.jar
Normal file
Binary file not shown.
@@ -27,8 +27,6 @@ import java.util.logging.Level;
|
|||||||
public class Main {
|
public class Main {
|
||||||
// ========== 静态属性(常量在前 变量在后,顺序规整) ==========
|
// ========== 静态属性(常量在前 变量在后,顺序规整) ==========
|
||||||
private static final String TAG = "Main";
|
private static final String TAG = "Main";
|
||||||
private static final String CONFIG_SECTION_GLOBAL = "GlobalConfig";
|
|
||||||
private static final String CONFIG_KEY_ROOT_DIR = "PROJECT_ROOT_DIR";
|
|
||||||
private static AuthCenterHttpService httpService;
|
private static AuthCenterHttpService httpService;
|
||||||
private static int httpPort;
|
private static int httpPort;
|
||||||
|
|
||||||
@@ -46,7 +44,7 @@ public class Main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 读取项目根目录 初始化日志目录
|
// 读取项目根目录 初始化日志目录
|
||||||
String projectRootDir = IniConfigUtils.getConfigValue(CONFIG_SECTION_GLOBAL, CONFIG_KEY_ROOT_DIR);
|
String projectRootDir = "./";
|
||||||
if (projectRootDir == null || projectRootDir.trim().isEmpty()) {
|
if (projectRootDir == null || projectRootDir.trim().isEmpty()) {
|
||||||
LogUtils.e(TAG, "INI中GlobalConfig.PROJECT_ROOT_DIR未配置,程序退出");
|
LogUtils.e(TAG, "INI中GlobalConfig.PROJECT_ROOT_DIR未配置,程序退出");
|
||||||
System.err.println("❌ 请在INI配置GlobalConfig.PROJECT_ROOT_DIR");
|
System.err.println("❌ 请在INI配置GlobalConfig.PROJECT_ROOT_DIR");
|
||||||
|
|||||||
Reference in New Issue
Block a user