yujian
2020-04-17 aba192810c97b03ca3ca4aef1d44f0b60aa243e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.yeshi.fanli.job;
 
import org.springframework.stereotype.Component;
 
import com.yeshi.fanli.util.ProxyUtil;
@Component
public class ProxyUpdateJob {
    
//    @Scheduled(cron="*/30 * * * * ? ")
    public void updateLikeCount(){
        ProxyUtil.updateProxyPool();
    }
    
}