完善项目

This commit is contained in:
2025-04-21 11:17:19 +08:00
parent 11a207a10a
commit f77777a055
24 changed files with 747 additions and 25 deletions

View File

@@ -48,6 +48,12 @@ public class NbaController {
log.info("执行定时方法添加当天赛程");
return nbaApi.addGames();
}
@Scheduled(cron = "0 0 0 * * ?")
@RequestMapping("/updateLive")
public void updateLive() {
log.info("执行定时方法更新当天赛程直播链接");
}
@RequestMapping("/games")
public List<Games> getGames() {
log.info("获取所有赛程");