|
@@ -9,10 +9,10 @@ import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
@SpringBootApplication
|
|
@SpringBootApplication
|
|
-//@EnableFeignClients("com.fdkankan.*.api.feign")
|
|
|
|
|
|
+@EnableFeignClients("com.fdkankan.*.api.feign")
|
|
@EnableDiscoveryClient
|
|
@EnableDiscoveryClient
|
|
@EnableScheduling
|
|
@EnableScheduling
|
|
-@ComponentScan("*")
|
|
|
|
|
|
+@ComponentScan("com.fdkankan.common")
|
|
@MapperScan("com.fdkankan.**.mapper")
|
|
@MapperScan("com.fdkankan.**.mapper")
|
|
public class SceneApplication {
|
|
public class SceneApplication {
|
|
|
|
|