| 
...
 | 
...
 | 
@@ -15,7 +15,7 @@ function start(){ | 
| 
 | 
 | 
         // 占用当前的id,占用2小时
 | 
| 
 | 
 | 
         if(redis()->add('just_sync_'.$id,time(),600)){
 | 
| 
 | 
 | 
             go(function () use ($id){
 | 
| 
 | 
 | 
                 echo file_get_contents(APP_HOST.'v3/sync?id='.$id);
 | 
| 
 | 
 | 
                 echo file_get_contents('http://mail-serve.hagro.cn/v3/sync?id='.$id);
 | 
| 
 | 
 | 
             });
 | 
| 
 | 
 | 
         }
 | 
| 
 | 
 | 
     }else{
 | 
...
 | 
...
 | 
 |