1
This commit is contained in:
@@ -869,9 +869,9 @@ func AddSkuName(ctx *jxcontext.Context, skuNameExt *model.SkuNameExt, userName s
|
||||
realPrefix = "0" + realPrefix
|
||||
}
|
||||
skuNameExt.YbNameSuffix = realPrefix
|
||||
if utils.Str2Int64(prefix) > 9999 {
|
||||
return nil, fmt.Errorf("银豹的商品后缀已超过9999!")
|
||||
}
|
||||
//if utils.Str2Int64(prefix) > 9999 {
|
||||
// return nil, fmt.Errorf("银豹的商品后缀已超过9999!")
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -415,7 +415,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
foodData["qua_effective_date"] = storeSku.QuaEffectiveDate
|
||||
foodData["qua_approval_date"] = storeSku.QuaApprovalDate
|
||||
}
|
||||
if storeSku.SpecialPictures != "" {
|
||||
if storeSku.SpecialPictures != "" && storeSku.SpecialPictures != "[]" {
|
||||
foodData["special_pictures"] = storeSku.SpecialPictures
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user