瀏覽代碼

爬取卖家云订单脚本修改

shensong 5 年之前
父節點
當前提交
25e2afbd65
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Console/Commands/freightCost.php

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

@@ -177,6 +177,7 @@ class freightCost extends Command {
177 177
         if($this->page < $this->pages){
178 178
             //继续请求下一页数据
179 179
             $this->page++;
180
+            sleep(1);
180 181
             $this->getFreightCost();
181 182
         } else {
182 183
             die;