fix: open time job

pull/165/head
Brian Lee 11 months ago
parent f76c6caeb7
commit b6b1e9845e

@ -17,6 +17,7 @@ import com.google.common.collect.Maps;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.compress.utils.Lists;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
@ -47,7 +48,7 @@ public class PullPictureDataJob {
@Resource
private ApiConfig apiConfig;
// @Scheduled(cron = "0 5 0 * * ?") // 每天晚上0点五分执行一次
@Scheduled(cron = "0 5 0 * * ?") // 每天晚上0点五分执行一次
public void pullPicture() {
//配置查询参数信息
Integer pageNo = 1;

Loading…
Cancel
Save