|
@@ -57,6 +57,9 @@ function __construct(){
|
|
|
//$this->logic_ding->sendToDing("测试获取SU订单".$info);
|
|
//$this->logic_ding->sendToDing("测试获取SU订单".$info);
|
|
|
$result = json_decode($info,true);
|
|
$result = json_decode($info,true);
|
|
|
$thatDayOrder = array();
|
|
$thatDayOrder = array();
|
|
|
|
|
+ if(empty($result['data'])){
|
|
|
|
|
+ return [];
|
|
|
|
|
+ }
|
|
|
foreach ($result['data'] as $v)
|
|
foreach ($result['data'] as $v)
|
|
|
{
|
|
{
|
|
|
$productNames = '';
|
|
$productNames = '';
|