|
|
@ -778,7 +778,7 @@ class Goods extends Controller |
|
|
|
$cates = GoodsCategoryRel::where('goods_id', $value['goods_id'])->select()->toArray(); |
|
|
|
$cates = GoodsCategoryRel::where('goods_id', $value['goods_id'])->select()->toArray(); |
|
|
|
$value['jd_short_url'] = $jd_url[$value['goods_no']]['link']; |
|
|
|
$value['jd_short_url'] = $jd_url[$value['goods_no']]['link']; |
|
|
|
if(empty($value['jd_short_url'])){ |
|
|
|
if(empty($value['jd_short_url'])){ |
|
|
|
$value['jd_short_url'] = $value['link']; |
|
|
|
$value['jd_short_url'] = $jd_url[$value['goods_no']]['copy']; |
|
|
|
} |
|
|
|
} |
|
|
|
//分类 |
|
|
|
//分类 |
|
|
|
if ($cates) { |
|
|
|
if ($cates) { |
|
|
|