This commit is contained in:
邹宗楠
2026-08-04 11:01:09 +08:00
parent b3fec2c58b
commit a0ff70e995
2 changed files with 4 additions and 4 deletions

View File

@@ -869,9 +869,9 @@ func AddSkuName(ctx *jxcontext.Context, skuNameExt *model.SkuNameExt, userName s
realPrefix = "0" + realPrefix realPrefix = "0" + realPrefix
} }
skuNameExt.YbNameSuffix = realPrefix skuNameExt.YbNameSuffix = realPrefix
if utils.Str2Int64(prefix) > 9999 { //if utils.Str2Int64(prefix) > 9999 {
return nil, fmt.Errorf("银豹的商品后缀已超过9999!") // return nil, fmt.Errorf("银豹的商品后缀已超过9999!")
} //}
} }
} }
} }

View File

@@ -415,7 +415,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
foodData["qua_effective_date"] = storeSku.QuaEffectiveDate foodData["qua_effective_date"] = storeSku.QuaEffectiveDate
foodData["qua_approval_date"] = storeSku.QuaApprovalDate foodData["qua_approval_date"] = storeSku.QuaApprovalDate
} }
if storeSku.SpecialPictures != "" { if storeSku.SpecialPictures != "" && storeSku.SpecialPictures != "[]" {
foodData["special_pictures"] = storeSku.SpecialPictures foodData["special_pictures"] = storeSku.SpecialPictures
} }