This commit is contained in:
laodaming 2023-10-25 14:59:27 +08:00
parent 735098b2c7
commit 62dd14a627
3 changed files with 3 additions and 0 deletions

View File

@ -428,6 +428,7 @@ func (l *GetTagProductListLogic) getTagProducts(req getTagProductsReq) (productL
}
item := types.TagProduct{
Id: productInfo.Id,
ProductId: productInfo.Id,
Sn: *productInfo.Sn,
Title: *productInfo.Title,
SizeNum: uint32(sizeNum),

View File

@ -52,6 +52,7 @@ type TagItem struct {
type TagProduct struct {
Id int64 `json:"id"`
ProductId int64 `json:"product_id"` //后面删掉这个
Sn string `json:"sn"`
Title string `json:"title"`
Cover string `json:"cover"`

View File

@ -92,6 +92,7 @@ type TagItem {
}
type TagProduct {
Id int64 `json:"id"`
ProductId int64 `json:"product_id"` //后面删掉这个
Sn string `json:"sn"`
Title string `json:"title"`
Cover string `json:"cover"`