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,6 +33,7 @@ class CustomerOrder extends Command {
33 33
         $list = json_decode(json_encode($list),true);
34 34
         if(count($list) > 0){
35 35
             $this->page++;
36
+            sleep(1);
36 37
             $this->updateOrInsert($list);
37 38
             $this->getCustomerList();
38 39
         } else {