Browse Source

爬取卖家云订单脚本以及用户订单统计

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

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

132
         $url = 'http://erp.maijiayun.cn/dd/print/statistics/list/deliver.ht';
132
         $url = 'http://erp.maijiayun.cn/dd/print/statistics/list/deliver.ht';
133
         $method = 'post';
133
         $method = 'post';
134
 //        $startDate = '2019-10-15 00:00:00';
134
 //        $startDate = '2019-10-15 00:00:00';
135
-        $startDate = date('Y-m-d 00:00:00',strtotime('-30 days'));
135
+        $startDate = date('Y-m-d 00:00:00',strtotime('-10 days'));
136
         $endDate = date('Y-m-d 23:59:59',time());
136
         $endDate = date('Y-m-d 23:59:59',time());
137
 
137
 
138
         $params = array(
138
         $params = array(