refactor(schedule): 重构任务调度模块,使用 OpenFeign 替代 WebClient

This commit is contained in:
2025-03-28 23:07:52 +08:00
parent 3408e4d01c
commit c041496f65
16 changed files with 276 additions and 306 deletions

View File

@@ -31,6 +31,7 @@ import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.ServerProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import top.continew.starter.core.autoconfigure.project.ProjectProperties;
@@ -49,6 +50,7 @@ import top.continew.starter.web.model.R;
@EnableMethodCache(basePackages = "top.continew.admin")
@EnableGlobalResponse
@EnableCrudRestController
@EnableFeignClients
@RestController
@SpringBootApplication
@RequiredArgsConstructor