浏览代码

爬取卖家云订单脚本修改

shensong 5 年之前
父节点
当前提交
a9659799d3
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 {