新增小程序扫码建商品
This commit is contained in:
@@ -1390,10 +1390,11 @@ func GetJdUpcCodeByName(ctx *jxcontext.Context, name, upcCode string) (productIn
|
||||
return retVal, err
|
||||
}
|
||||
for _, v := range productInfo {
|
||||
_, name, _, specUnit, _, specQuality := jxutils.SplitSkuName(v.OriginalName)
|
||||
_, name, _, specUnit, unit, specQuality := jxutils.SplitSkuName(v.OriginalName)
|
||||
v.Name = name
|
||||
v.SpecQuality = specQuality
|
||||
v.SpecUnit = specUnit
|
||||
v.Unit = unit
|
||||
}
|
||||
retVal = productInfo
|
||||
return retVal, err
|
||||
|
||||
Reference in New Issue
Block a user