mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 12:48:59 +08:00
fix: spring启动时接收命令行参数
This commit is contained in:
parent
2a51b1bc25
commit
c9eb46c40d
@ -17,7 +17,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
public class OmsApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(OmsApplication.class);
|
||||
SpringApplication.run(OmsApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -14,6 +14,6 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||
@EnableTransactionManagement
|
||||
public class PmsApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(PmsApplication.class);
|
||||
SpringApplication.run(PmsApplication.class, args);
|
||||
}
|
||||
}
|
||||
|
@ -21,6 +21,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
public class SmsApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SmsApplication.class);
|
||||
SpringApplication.run(SmsApplication.class, args);
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,6 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
@EnableDiscoveryClient
|
||||
public class UmsApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(UmsApplication.class);
|
||||
SpringApplication.run(UmsApplication.class, args);
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,6 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
@EnableDiscoveryClient
|
||||
public class AdminApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(AdminApplication.class);
|
||||
SpringApplication.run(AdminApplication.class, args);
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,6 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
@EnableDiscoveryClient
|
||||
public class AuthApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(AuthApplication.class);
|
||||
SpringApplication.run(AuthApplication.class, args);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user