|
@@ -667,7 +667,7 @@ class Jd extends BaseController
|
|
667
|
$result = $this->getUrlResult($apiName, $params);
|
667
|
$result = $this->getUrlResult($apiName, $params);
|
|
668
|
$result = json_decode($result, true);
|
668
|
$result = json_decode($result, true);
|
|
669
|
$result = json_decode($result['jd_union_open_order_row_query_responce']['queryResult'], true);
|
669
|
$result = json_decode($result['jd_union_open_order_row_query_responce']['queryResult'], true);
|
|
670
|
- $lists = $result['data'];
|
|
|
|
|
|
670
|
+ $lists = $result['data'] ?? [];
|
|
671
|
$countList = count($lists);
|
671
|
$countList = count($lists);
|
|
672
|
if (!empty($countList)) {
|
672
|
if (!empty($countList)) {
|
|
673
|
$orderLists = array_merge($orderLists, $lists);
|
673
|
$orderLists = array_merge($orderLists, $lists);
|