package com.qianwen.core.tenant.launcher; import java.util.Properties; import com.qianwen.core.launch.service.LauncherService; import com.qianwen.core.launch.utils.PropsUtil; import org.springframework.boot.builder.SpringApplicationBuilder; public class TenantLauncherServiceImpl implements LauncherService { public void launcher(SpringApplicationBuilder builder, String appName, String profile, boolean isLocalDev) { Properties props = System.getProperties(); PropsUtil.setProperty(props, "spring.datasource.dynamic.enabled", "false"); } public int getOrder() { return Integer.MAX_VALUE; } }