fix
This commit is contained in:
parent
8dc98d4aca
commit
9cb979d830
|
@ -310,8 +310,8 @@ func (l *GetTagProductListLogic) dealWithTagMenuData(req dealWithTagMenuDataReq)
|
|||
})
|
||||
//tag中产品
|
||||
for _, tmpProduct := range productListRsp {
|
||||
tagTem.TagProductList = append(tagTem.TagProductList, tmpProduct.ProductId)
|
||||
req.MapTagProduct[tmpProduct.ProductId] = tmpProduct
|
||||
tagTem.TagProductList = append(tagTem.TagProductList, tmpProduct.Id)
|
||||
req.MapTagProduct[tmpProduct.Id] = tmpProduct
|
||||
}
|
||||
}
|
||||
//加入分类
|
||||
|
@ -427,7 +427,7 @@ func (l *GetTagProductListLogic) getTagProducts(req getTagProductsReq) (productL
|
|||
haveOptionalFitting = true
|
||||
}
|
||||
item := types.TagProduct{
|
||||
ProductId: productInfo.Id,
|
||||
Id: productInfo.Id,
|
||||
Sn: *productInfo.Sn,
|
||||
Title: *productInfo.Title,
|
||||
SizeNum: uint32(sizeNum),
|
||||
|
|
|
@ -51,7 +51,7 @@ type TagItem struct {
|
|||
}
|
||||
|
||||
type TagProduct struct {
|
||||
ProductId int64 `json:"product_id"`
|
||||
Id int64 `json:"id"`
|
||||
Sn string `json:"sn"`
|
||||
Title string `json:"title"`
|
||||
Cover string `json:"cover"`
|
||||
|
|
|
@ -91,7 +91,7 @@ type TagItem {
|
|||
ChildTagList []*TagItem `json:"child_tag_list"`
|
||||
}
|
||||
type TagProduct {
|
||||
ProductId int64 `json:"product_id"`
|
||||
Id int64 `json:"id"`
|
||||
Sn string `json:"sn"`
|
||||
Title string `json:"title"`
|
||||
Cover string `json:"cover"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user