|
@@ -6,7 +6,6 @@ import com.zd.common.core.annotation.EnableRyFeignClients;
|
|
|
import com.zd.common.core.launch.ZdStartApplication;
|
|
import com.zd.common.core.launch.ZdStartApplication;
|
|
|
import com.zd.model.constant.ApplicationConstants;
|
|
import com.zd.model.constant.ApplicationConstants;
|
|
|
import com.zd.model.constant.BaseConstants;
|
|
import com.zd.model.constant.BaseConstants;
|
|
|
-import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
@@ -25,6 +24,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
@ComponentScan(basePackages = BaseConstants.BASE_PACKAGE)
|
|
@ComponentScan(basePackages = BaseConstants.BASE_PACKAGE)
|
|
|
public class ZdAirbottleApplication {
|
|
public class ZdAirbottleApplication {
|
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|
|
|
- ZdStartApplication.run(ApplicationConstants.BOTTLE_SERVICE, ZdAirbottleApplication.class, args);
|
|
|
|
|
|
|
+ ZdStartApplication.run(ApplicationConstants.AIR_BOTTLE_SERVICE, ZdAirbottleApplication.class, args);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|