🎉 移除相关注解

This commit is contained in:
smallchill 2024-07-24 21:33:29 +08:00
parent b918c4ddbf
commit c3d22f399a

View File

@ -53,16 +53,6 @@ public class BladeApplication {
return createSpringApplicationBuilder(null, appName, source, args); return createSpringApplicationBuilder(null, appName, source, args);
} }
/**
* 兼容tomcat等外部容器启动使用此方法时请按照1进行工程改造
* <pre>1-https://sns.bladex.cn/q-6813.html</pre>
* <pre>2-解决https://sns.bladex.cn/q-66.html问题</pre>
* @param builder builder
* @param appName appName
* @param source source
* @param args args
* @return
*/
public static SpringApplicationBuilder createSpringApplicationBuilder(SpringApplicationBuilder builder, String appName, Class source, String... args) { public static SpringApplicationBuilder createSpringApplicationBuilder(SpringApplicationBuilder builder, String appName, Class source, String... args) {
Assert.hasText(appName, "[appName]服务名不能为空"); Assert.hasText(appName, "[appName]服务名不能为空");
// 读取环境变量使用spring boot的规则 // 读取环境变量使用spring boot的规则