yujian
2020-04-02 9f46a18253bd264e98d302549832fcc7f2127d37
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();
    }
    
}