1
This commit is contained in:
@@ -371,18 +371,18 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
|||||||
img3 := storeSku.Img3
|
img3 := storeSku.Img3
|
||||||
img4 := storeSku.Img4
|
img4 := storeSku.Img4
|
||||||
img5 := storeSku.Img5
|
img5 := storeSku.Img5
|
||||||
if img2 == "" {
|
//if img2 == "" {
|
||||||
img2 = storeSku.Img
|
// img2 = storeSku.Img
|
||||||
}
|
//}
|
||||||
if img3 == "" {
|
//if img3 == "" {
|
||||||
img3 = storeSku.Img
|
// img3 = storeSku.Img
|
||||||
}
|
//}
|
||||||
if img4 == "" {
|
//if img4 == "" {
|
||||||
img4 = storeSku.Img
|
// img4 = storeSku.Img
|
||||||
}
|
//}
|
||||||
if img5 == "" {
|
//if img5 == "" {
|
||||||
img5 = storeSku.Img
|
// img5 = storeSku.Img
|
||||||
}
|
//}
|
||||||
if storeSku.ImgMix != "" && ((storeSku.BrandID == storeSku.ExBrandID && storeSku.ExBrandID != 0) || storeSku.ExBrandID == 0) {
|
if storeSku.ImgMix != "" && ((storeSku.BrandID == storeSku.ExBrandID && storeSku.ExBrandID != 0) || storeSku.ExBrandID == 0) {
|
||||||
foodData["picture"] = strings.Join(jxutils.BatchString2Slice(storeSku.ImgMix, img2, img3, img4, img5), ",")
|
foodData["picture"] = strings.Join(jxutils.BatchString2Slice(storeSku.ImgMix, img2, img3, img4, img5), ",")
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user