diff --git a/server/product/internal/logic/gettagproductlistlogic.go b/server/product/internal/logic/gettagproductlistlogic.go index bc2f7652..cce5378b 100644 --- a/server/product/internal/logic/gettagproductlistlogic.go +++ b/server/product/internal/logic/gettagproductlistlogic.go @@ -428,7 +428,6 @@ 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), diff --git a/server/product/internal/types/types.go b/server/product/internal/types/types.go index 1ac32f81..c1833896 100644 --- a/server/product/internal/types/types.go +++ b/server/product/internal/types/types.go @@ -52,7 +52,6 @@ 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"` diff --git a/server_api/product.api b/server_api/product.api index 50a17da0..7dc15731 100644 --- a/server_api/product.api +++ b/server_api/product.api @@ -92,7 +92,6 @@ 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"`