Browse Source

爬取卖家云订单脚本修改

shensong 5 years ago
parent
commit
a9659799d3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Console/Commands/CustomerOrder.php

+ 1 - 0
app/Console/Commands/CustomerOrder.php

33
         $list = json_decode(json_encode($list),true);
33
         $list = json_decode(json_encode($list),true);
34
         if(count($list) > 0){
34
         if(count($list) > 0){
35
             $this->page++;
35
             $this->page++;
36
+            sleep(1);
36
             $this->updateOrInsert($list);
37
             $this->updateOrInsert($list);
37
             $this->getCustomerList();
38
             $this->getCustomerList();
38
         } else {
39
         } else {