1
This commit is contained in:
@@ -14,7 +14,7 @@ type JxBadComments struct {
|
|||||||
|
|
||||||
Createtime string `json:"createTime" orm:"column(createtime);size(255);null;index" description:"评论的创建时间"`
|
Createtime string `json:"createTime" orm:"column(createtime);size(255);null;index" description:"评论的创建时间"`
|
||||||
Score int `json:"score4" orm:"column(score)" description:"评论的星级"`
|
Score int `json:"score4" orm:"column(score)" description:"评论的星级"`
|
||||||
Scorecontent string `json:"score4Content" orm:"column(scorecontent);size(255);null" description:"评论的内容"`
|
Scorecontent string `json:"score4Content" orm:"column(scorecontent);size(512);null" description:"评论的内容"`
|
||||||
Vendertags string `json:"venderTags" orm:"column(vendertags);size(255);null" description:"评论的标签"`
|
Vendertags string `json:"venderTags" orm:"column(vendertags);size(255);null" description:"评论的标签"`
|
||||||
Msg string `json:"-" orm:"column(msg);type(text)" description:"未解决差评的原始信息"`
|
Msg string `json:"-" orm:"column(msg);type(text)" description:"未解决差评的原始信息"`
|
||||||
|
|
||||||
|
|||||||
@@ -152,6 +152,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
|||||||
OuterProductId: utils.Int2Str(storeSku.SkuID), // 本地skuId为外部商品id
|
OuterProductId: utils.Int2Str(storeSku.SkuID), // 本地skuId为外部商品id
|
||||||
}
|
}
|
||||||
globals.SugarLogger.Debugf("=======================1")
|
globals.SugarLogger.Debugf("=======================1")
|
||||||
|
globals.SugarLogger.Debugf("=======================param %s", utils.Format4Output(param, false))
|
||||||
if len(param.Name) < 23 { // 中文字符一个汉字三个长度符号/数字/字母两个长度,商品名称不能大于
|
if len(param.Name) < 23 { // 中文字符一个汉字三个长度符号/数字/字母两个长度,商品名称不能大于
|
||||||
param.Name += utils.Float64ToStr(float64(storeSku.SpecQuality)) + "/" + storeSku.SpecUnit
|
param.Name += utils.Float64ToStr(float64(storeSku.SpecQuality)) + "/" + storeSku.SpecUnit
|
||||||
if len(param.Name) < 23 {
|
if len(param.Name) < 23 {
|
||||||
|
|||||||
Reference in New Issue
Block a user