From 7f55c18d7db36c9cad2ac96e481680bc1107e51c Mon Sep 17 00:00:00 2001 From: Hentua <wangdoubleone@gmail.com> Date: Thu, 15 Jun 2023 11:16:11 +0800 Subject: [PATCH] Merge branch 'meiye_mall' of http://120.27.238.55:7000/r/xc-mall into meiye_mall --- src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java b/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java index b6729ba..8cacfac 100644 --- a/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java +++ b/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java @@ -65,15 +65,15 @@ log.info(" "); log.info("国潮奢美 权限系统启动完毕,地址:{}", url); - boolean auto = febsProperties.isAutoOpenBrowser(); - if (auto && StringUtils.equalsIgnoreCase(active, FebsConstant.DEVELOP)) { - String os = System.getProperty("os.name"); - // 默认为 windows时才自动打开页面 - if (StringUtils.containsIgnoreCase(os, FebsConstant.SYSTEM_WINDOWS)) { - //使用默认浏览器打开系统登录页 - Runtime.getRuntime().exec("cmd /c start " + url); - } - } +// boolean auto = febsProperties.isAutoOpenBrowser(); +// if (auto && StringUtils.equalsIgnoreCase(active, FebsConstant.DEVELOP)) { +// String os = System.getProperty("os.name"); +// // 默认为 windows时才自动打开页面 +// if (StringUtils.containsIgnoreCase(os, FebsConstant.SYSTEM_WINDOWS)) { +// //使用默认浏览器打开系统登录页 +// Runtime.getRuntime().exec("cmd /c start " + url); +// } +// } } } } -- Gitblit v1.9.1