From 060d8e5f11c10e30a3e82f41b46a0ca1efe4832b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 9 Aug 2023 15:53:02 +0800 Subject: [PATCH] 1 --- business/partner/purchase/tao_vegetable/store_sku2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/partner/purchase/tao_vegetable/store_sku2.go b/business/partner/purchase/tao_vegetable/store_sku2.go index 75c968b8a..0408b587a 100644 --- a/business/partner/purchase/tao_vegetable/store_sku2.go +++ b/business/partner/purchase/tao_vegetable/store_sku2.go @@ -532,7 +532,7 @@ func uploadImg(api *tao_vegetable.API, skuId, vendorId int, imgs []string) *stri } } - if vendorImg.Img == "" && vendorImg.Img2 == "" && vendorImg.Img3 == "" && vendorImg.Img4 == "" && vendorImg.Img5 == "" && vendorImg.DescImg == "" { + if taoImgs.Img == "" && taoImgs.Img2 == "" && taoImgs.Img3 == "" && taoImgs.Img4 == "" && taoImgs.Img5 == "" && taoImgs.DescImg == "" { return nil }