1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

去掉定时任务部分代码

This commit is contained in:
2022-04-15 15:29:24 +08:00
parent 4cd96c918e
commit 0f6f148076
5 changed files with 81 additions and 7 deletions

View File

@@ -5,7 +5,6 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import plus.bookshelf.Service.Impl.ScheduleTaskServiceImpl;
@SpringBootApplication(scanBasePackages = {"plus.bookshelf"})
@RestController
@@ -21,9 +20,9 @@ public class App {
System.out.println("backend service started successfully.");
// 启动定时任务
ScheduleTaskServiceImpl scheduleTaskService = new ScheduleTaskServiceImpl();
scheduleTaskService.setExecutor();
// // 启动定时任务
// ScheduleTaskServiceImpl scheduleTaskService = new ScheduleTaskServiceImpl();
// scheduleTaskService.setExecutor();
}
@RequestMapping("/")