|
|
@ -96,7 +96,7 @@ class Goods extends Controller |
|
|
|
$jd = new Jd(); |
|
|
|
$jd = new Jd(); |
|
|
|
$jd_short_url = $jd->getJdShortLink($goodsInfo['goods_no']); |
|
|
|
$jd_short_url = $jd->getJdShortLink($goodsInfo['goods_no']); |
|
|
|
//获取商品短链 |
|
|
|
//获取商品短链 |
|
|
|
$goodsInfo['jd_short_url'] = $jd_short_url; |
|
|
|
$goodsInfo['jd_short_url'] = $jd_short_url[0]['link'] ?? ""; |
|
|
|
return $this->renderSuccess(['detail' => $goodsInfo]); |
|
|
|
return $this->renderSuccess(['detail' => $goodsInfo]); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|