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 }