mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
去掉定时任务部分代码
This commit is contained in:
@@ -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("/")
|
||||
|
Reference in New Issue
Block a user