开启定时任务

20230922-ljl-fixBug
wangchaoxu 1 year ago
parent ba6038c9c4
commit 3136410d4b

@ -9,7 +9,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication(scanBasePackages = {"com.ms","com.jinritemai"}) @SpringBootApplication(scanBasePackages = {"com.ms","com.jinritemai"})
@MapperScan("com.ms.dal.mapper") @MapperScan("com.ms.dal.mapper")
@EnableAsync @EnableAsync
//@EnableScheduling @EnableScheduling
public class MsApplication { public class MsApplication {
public static void main(String[] args) { public static void main(String[] args) {

Loading…
Cancel
Save