Explorar o código

客户端-京东服务商从京推推换成官方

sunxbiao hai 11 meses
pai
achega
1bb3ce2324
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/controller/api/store/product/Jd.php

+ 1 - 1
app/controller/api/store/product/Jd.php

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