youhua
This commit is contained in:
@@ -4366,6 +4366,9 @@ func CreateSkusAndFocusFromWx(ctx *jxcontext.Context, productInfo *jdapi.Product
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if len(skuNames) == 0 {
|
if len(skuNames) == 0 {
|
||||||
|
if productInfo.Name == "" {
|
||||||
|
productInfo.Name = productInfo.OriginalName
|
||||||
|
}
|
||||||
skuNames2, err := dao.GetSkuNames(db, nil, nil, productInfo.Name, false)
|
skuNames2, err := dao.GetSkuNames(db, nil, nil, productInfo.Name, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user