From 24a0c40654afc75c9da879ebb4c9a4c93c57e806 Mon Sep 17 00:00:00 2001 From: Hentua <wangdoubleone@gmail.com> Date: Wed, 07 Jun 2023 12:00:54 +0800 Subject: [PATCH] 微信支付 --- 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