Browse Source

爬取卖家云订单脚本修改

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

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

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