Sfoglia il codice sorgente

定时任务依赖扫描

ssk 4 mesi fa
parent
commit
e1794ec3fd

+ 1 - 1
alien-job/src/main/java/shop/alien/job/AlienJobApplication.java

@@ -7,7 +7,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
 import org.springframework.context.annotation.ComponentScan;
 
 @SpringBootApplication
-@ComponentScan({"shop.alien.job.*", "shop.alien.config.redis", "shop.alien.config.databases",})
+@ComponentScan({"shop.alien.job.*", "shop.alien.util.*","shop.alien.config.redis", "shop.alien.config.databases",})
 @MapperScan({"shop.alien.mapper"})
 @EnableFeignClients(basePackages = {"shop.alien.job.feign"})
 public class AlienJobApplication {