@@ -140,6 +140,8 @@ echo $imgString;die;
$shortUrl = httpUtil::downloadRemoteImg($sjId, $shopId, $imgUrl);
$shopImg[] = $shortUrl;
}
+ echo $mtGoodsSpu.' ';
+ print_r($shopImg);
$goodsData = [
'spu' => $mtGoodsSpu, 'shopImg' => $shopImg,
'name' => $goodsName, 'sjId' => $sjId, 'mainId' => $mainId, 'shopId' => $shopId, 'catId' => $catId, 'cover' => 0, 'unitGoodsPrice' => $goodsPrice, 'num' => $num,