This commit is contained in:
邹宗楠
2022-12-12 17:12:14 +08:00
parent e41987fa08
commit 7bacee559c
2 changed files with 2 additions and 1 deletions

View File

@@ -152,6 +152,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
OuterProductId: utils.Int2Str(storeSku.SkuID), // 本地skuId为外部商品id
}
globals.SugarLogger.Debugf("=======================1")
globals.SugarLogger.Debugf("=======================param %s", utils.Format4Output(param, false))
if len(param.Name) < 23 { // 中文字符一个汉字三个长度符号/数字/字母两个长度,商品名称不能大于
param.Name += utils.Float64ToStr(float64(storeSku.SpecQuality)) + "/" + storeSku.SpecUnit
if len(param.Name) < 23 {