소스 검색

商品采集报错处理

evoxwht 2 년 전
부모
커밋
cddfecb072
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      crmeb/app/services/product/product/CopyTaobaoServices.php

+ 1 - 1
crmeb/app/services/product/product/CopyTaobaoServices.php

@@ -55,7 +55,7 @@ class CopyTaobaoServices extends BaseServices
             case 1://平台
                 /** @var ServeServices $services */
                 $services = app()->make(ServeServices::class);
-                $resultData = $services->copy('copy')->goods($url, sys_config('yihaotong_copy_appid', ''));
+                $resultData = $services->copy('copy')->goods($url, [], sys_config('yihaotong_copy_appid', ''));
                 if (isset($resultData['description_image']) && is_string($resultData['description_image'])) {
                     $resultData['description_image'] = json_decode($resultData['description_image'], true);
                 }