From 2ebdaf82e67afb9d222b2e4c13859fee8e7c08d2 Mon Sep 17 00:00:00 2001 From: chenchuchuan <13554600537@163.com> Date: Tue, 4 Aug 2026 16:00:56 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E6=9B=B4=E6=96=B0=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E9=85=8D=E7=BD=AE=E5=92=8C=E4=BE=9D=E8=B5=96=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 common-orm 依赖版本从 1.0.2 降级到 1.0.0 - 移除 bootstrap.yml 中的 nacos 配置禁用选项 - 在 logback-spring.xml 中启用延迟关闭钩子 - 移除应用就绪事件监听器和控制台输出 - 更新 maven 发布仓库地址从内网 IP 到新地址 - 调整仓库配置以适应新的部署环境 --- .../main/java/apelet/tenantadmin/TenantAdminApplication.java | 10 ---------- .../tenant-admin/src/main/resources/bootstrap.yml | 6 ------ .../tenant-admin/src/main/resources/logback-spring.xml | 2 +- common/common-flow-online/pom.xml | 2 +- common/common-generator/pom.xml | 2 +- common/common-online/pom.xml | 2 +- pom.xml | 4 ++-- 7 files changed, 6 insertions(+), 22 deletions(-) diff --git a/application-tenant/tenant-admin/src/main/java/apelet/tenantadmin/TenantAdminApplication.java b/application-tenant/tenant-admin/src/main/java/apelet/tenantadmin/TenantAdminApplication.java index e071533..b1eee94 100644 --- a/application-tenant/tenant-admin/src/main/java/apelet/tenantadmin/TenantAdminApplication.java +++ b/application-tenant/tenant-admin/src/main/java/apelet/tenantadmin/TenantAdminApplication.java @@ -4,11 +4,9 @@ import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; -import org.springframework.boot.context.event.ApplicationReadyEvent; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.context.annotation.ComponentScan; import org.springframework.scheduling.annotation.EnableScheduling; -import org.springframework.context.event.EventListener; /** * 租户运营管理服务启动类。 @@ -26,12 +24,4 @@ public class TenantAdminApplication { public static void main(String[] args) { SpringApplication.run(TenantAdminApplication.class, args); } - - - @EventListener(ApplicationReadyEvent.class) - public void onApplicationReady() { - System.out.println("\n=============================================="); - System.out.println("============= 项目启动成功 SUCCESS ============"); - System.out.println("==============================================\n"); - } } diff --git a/application-tenant/tenant-admin/src/main/resources/bootstrap.yml b/application-tenant/tenant-admin/src/main/resources/bootstrap.yml index 94fc172..f1901e3 100644 --- a/application-tenant/tenant-admin/src/main/resources/bootstrap.yml +++ b/application-tenant/tenant-admin/src/main/resources/bootstrap.yml @@ -10,12 +10,6 @@ spring: exclude: - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure - cloud: - nacos: - discovery: - enabled: false - config: - enabled: false config: import: - classpath:tenant-admin-dev.yml diff --git a/application-tenant/tenant-admin/src/main/resources/logback-spring.xml b/application-tenant/tenant-admin/src/main/resources/logback-spring.xml index 0230258..68533c6 100644 --- a/application-tenant/tenant-admin/src/main/resources/logback-spring.xml +++ b/application-tenant/tenant-admin/src/main/resources/logback-spring.xml @@ -5,7 +5,7 @@ scanPeriod:设置监测配置文件是否有修改的时间间隔,如果没 debug:当此属性设置为true时,将打印出logback内部日志信息,实时查看logback运行状态。默认值为false。 --> - + diff --git a/common/common-flow-online/pom.xml b/common/common-flow-online/pom.xml index e1d1481..5904893 100644 --- a/common/common-flow-online/pom.xml +++ b/common/common-flow-online/pom.xml @@ -28,7 +28,7 @@ apelet common-orm - 1.0.2 + 1.0.0 \ No newline at end of file diff --git a/common/common-generator/pom.xml b/common/common-generator/pom.xml index 22bcac2..918370b 100644 --- a/common/common-generator/pom.xml +++ b/common/common-generator/pom.xml @@ -59,7 +59,7 @@ apelet common-orm - 1.0.2 + 1.0.0 compile diff --git a/common/common-online/pom.xml b/common/common-online/pom.xml index 415ae4e..3efb52a 100644 --- a/common/common-online/pom.xml +++ b/common/common-online/pom.xml @@ -76,7 +76,7 @@ apelet common-orm - 1.0.2 + 1.0.0 compile diff --git a/pom.xml b/pom.xml index fc68c9b..5bff485 100644 --- a/pom.xml +++ b/pom.xml @@ -135,13 +135,13 @@ nexus nexus - http://192.168.100.25:8081/repository/maven-releases/ + http://58.48.135.45:8081/repository/maven-releases/ maven-snapshots maven-snapshots - http://192.168.100.25:8081/repository/maven-snapshots/ + http://58.48.135.45:8081/repository/maven-snapshots/