| 
...
 | 
...
 | 
@@ -33,8 +33,12 @@ class HotMail { | 
| 
 | 
 | 
         $fob = $this->getFobHotEmail();
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
         // 把黑格自己的也算进去
 | 
| 
 | 
 | 
         $this->shopkHotEmail = array_merge($this->getHotEmail(),$fob);
 | 
| 
 | 
 | 
         $this->shopkHotEmail = array_merge($this->getHotEmail('e'),$this->getHotEmail('w'),$fob);
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
         $this->shopkHotEmail = array_map('strtolower',$this->shopkHotEmail);
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
         $this->shopkHotEmail = array_unique($this->shopkHotEmail);
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
         if($this->shopkHotEmail){
 | 
| 
 | 
 | 
             array_map([$this,'moveMail'],$fob);
 | 
| 
 | 
 | 
         }
 | 
| 
...
 | 
...
 | 
@@ -164,8 +168,10 @@ class HotMail { | 
| 
 | 
 | 
      * @author:dc
 | 
| 
 | 
 | 
      * @time 2024/7/18 13:58
 | 
| 
 | 
 | 
      */
 | 
| 
 | 
 | 
     private function getHotEmail():array {
 | 
| 
 | 
 | 
         $data = @file_get_contents('https://oa.shopk.com/api/mail/preheat');
 | 
| 
 | 
 | 
     private function getHotEmail($t='e'):array {
 | 
| 
 | 
 | 
         $url['e'] = 'https://oa.shopk.com/api/mail/preheat';
 | 
| 
 | 
 | 
         $url['w'] = 'https://oa.shopk.com/api/mail/write?iswrite=1';
 | 
| 
 | 
 | 
         $data = @file_get_contents($url[$t]);
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
         if($data){
 | 
| 
 | 
 | 
             $data = @json_decode($data,1);
 | 
...
 | 
...
 | 
 |