From 82878b54176cd120f1a94843763fe1d072151859 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 15 May 2024 19:56:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BC=E5=A4=9A=E5=A4=9A=E8=81=94=E7=9B=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pdd_union/goods.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdd_union/goods.go b/pdd_union/goods.go index 8473d78..a07739e 100644 --- a/pdd_union/goods.go +++ b/pdd_union/goods.go @@ -127,8 +127,8 @@ func GetGoodsDetail(keyArr map[string]string, param map[string]interface{}) map[ tmp["goods_min_img"] = v.GoodsThumbnailUrl tmp["goods_desc"] = v.GoodsDesc tmp["goods_sign"] = v.GoodsSign - if len(v.GoodsThumbnailUrl) > 0 { - tmp["goods_img_list"] = v.GoodsThumbnailUrl + if len(v.GoodsGalleryUrls) > 0 { + tmp["goods_img_list"] = v.GoodsGalleryUrls } data = tmp }