This commit is contained in:
laodaming 2023-10-23 13:05:39 +08:00
parent 125ef2b179
commit 5b92c3833b
3 changed files with 3 additions and 0 deletions

View File

@ -247,6 +247,7 @@ func (l *GetProductDetailLogic) GetProductDetail(req *types.GetProductDetailReq,
TemplateTagColorInfo: templateTagColorInfo,
ProductInfo: types.ProductInfo{
Id: productInfo.Id,
Description: *productInfo.Intro,
ProductType: *productInfo.Type,
ProductTypeName: *productTag.Title,
Title: *productInfo.Title,

View File

@ -220,6 +220,7 @@ type LightInfo struct {
type ProductInfo struct {
Id int64 `json:"id"` //产品id
Description string `json:"description"` //产品描述
ProductType int64 `json:"product_type"` //产品类型id
ProductTypeName string `json:"product_type_name"` //产品类型名称
Title string `json:"title"` //产品标题

View File

@ -250,6 +250,7 @@ type LightInfo {
}
type ProductInfo {
Id int64 `json:"id"` //产品id
Description string `json:"description"` //产品描述
ProductType int64 `json:"product_type"` //产品类型id
ProductTypeName string `json:"product_type_name"` //产品类型名称
Title string `json:"title"` //产品标题