优化
This commit is contained in:
@@ -7,7 +7,7 @@ import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import reactor.core.publisher.Mono;
|
||||
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/tx/nba")
|
||||
@@ -28,7 +28,7 @@ public class LiveInfoController {
|
||||
|
||||
//定时执行更新直播链接
|
||||
//定时任务 从北京时间凌晨到12点,每过半个小时执行一次
|
||||
@Scheduled(cron = "0 0/30 0-11 * * ?")
|
||||
@Scheduled(cron = "0 0/15 0-12 * * ?")
|
||||
@RequestMapping("/live/refresh")
|
||||
public String refreshLiveInfo() throws Exception {
|
||||
log.info("=========开始执行更新直播链接=========");
|
||||
|
||||
Reference in New Issue
Block a user