| | |
| | | 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();
|
| | | }
|
| | | |
| | | }
|
| | | 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(); |
| | | } |
| | | |
| | | } |