|
@@ -12,6 +12,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
|
import org.springframework.boot.context.properties.ConfigurationPropertiesScan; |
|
|
import org.springframework.boot.context.properties.ConfigurationPropertiesScan; |
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties; |
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties; |
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; |
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; |
|
|
|
|
|
import org.springframework.scheduling.annotation.EnableAsync; |
|
|
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling; |
|
|
|
|
|
|
|
|
import java.util.Properties; |
|
|
import java.util.Properties; |
|
|
import java.util.concurrent.Executor; |
|
|
import java.util.concurrent.Executor; |
|
@@ -23,10 +25,11 @@ import java.util.concurrent.Executor; |
|
|
* @create: 2020-06-18 16:39 |
|
|
* @create: 2020-06-18 16:39 |
|
|
*/ |
|
|
*/ |
|
|
@SpringBootApplication |
|
|
@SpringBootApplication |
|
|
@EnableConfigurationProperties |
|
|
|
|
|
@EnableDiscoveryClient |
|
|
@EnableDiscoveryClient |
|
|
@Slf4j |
|
|
|
|
|
@ConfigurationPropertiesScan |
|
|
@ConfigurationPropertiesScan |
|
|
|
|
|
@EnableAsync |
|
|
|
|
|
@EnableScheduling |
|
|
|
|
|
@Slf4j |
|
|
public class DipperPositionApplication { |
|
|
public class DipperPositionApplication { |
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
public static void main(String[] args) { |
|
|