|
@@ -29,6 +29,9 @@ class EcommerceBillHandler extends Command
|
|
|
$result=$handle->curl($url,'',$header,'GET');
|
|
|
$res=json_decode($result,true);
|
|
|
Log::info($res);
|
|
|
+ if(!array_key_exists('download_bill_list', $res)){
|
|
|
+ return ;
|
|
|
+ }
|
|
|
Log::info($bill_date.'下载资金账单,页数为'.count($res['download_bill_list']));
|
|
|
foreach($res['download_bill_list'] as $key=>$val){
|
|
|
$ciphertext= $this->down($val['download_url']);
|