|
|
@@ -8,6 +8,7 @@ import com.github.microservice.app.stream.StreamConfig;
|
|
|
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
import org.springframework.context.annotation.Import;
|
|
|
+import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
|
|
@@ -39,6 +40,7 @@ import java.lang.annotation.*;
|
|
|
|
|
|
//选配加载
|
|
|
//PromiseConfig.class
|
|
|
+@EnableScheduling
|
|
|
public @interface EnableApplicationClient {
|
|
|
|
|
|
}
|