Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
commit
2c995e9512
|
@ -155,6 +155,10 @@ func (l *GetCartsLogic) GetCarts(req *types.GetCartsReq, userinfo *auth.UserInfo
|
|||
productCoverMetadata = metadata
|
||||
}
|
||||
}
|
||||
templateTag := ""
|
||||
if templateInfo, ok := mapTemplate[*cart.TemplateId]; ok {
|
||||
templateTag = *templateInfo.TemplateTag
|
||||
}
|
||||
item := types.CartItem{
|
||||
CartId: cart.Id,
|
||||
ProductInfo: types.ProductInfo{
|
||||
|
@ -190,7 +194,7 @@ func (l *GetCartsLogic) GetCarts(req *types.GetCartsReq, userinfo *auth.UserInfo
|
|||
StepPurchaseQuantity: stepPurchaseQuantity,
|
||||
IsHighlyCustomized: *cart.IsHighlyCustomized > 0,
|
||||
IsSelected: *cart.IsSelected > 0,
|
||||
TemplateTag: *mapTemplate[*cart.TemplateId].TemplateTag,
|
||||
TemplateTag: templateTag,
|
||||
Logo: snapShot.Logo,
|
||||
}
|
||||
//是否有失效的
|
||||
|
|
Loading…
Reference in New Issue
Block a user