Explorar el Código

爬取卖家云订单脚本修改

shensong %!s(int64=5) %!d(string=hace) años
padre
commit
25e2afbd65
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;