This commit is contained in:
laodaming 2023-08-01 10:30:57 +08:00
parent 87bb0f34f0
commit c75e55a5cf
3 changed files with 3 additions and 0 deletions

View File

@ -222,6 +222,7 @@ func (l *GetTagProductListLogic) dealWithTagMenuData(req dealWithTagMenuDataReq)
tagTem := types.TagItem{ tagTem := types.TagItem{
TagProductList: []interface{}{}, TagProductList: []interface{}{},
TypeName: *tagInfo.Title, TypeName: *tagInfo.Title,
Description: *tagInfo.Description,
TypeId: tagInfo.Id, TypeId: tagInfo.Id,
Icon: *tagInfo.Icon, Icon: *tagInfo.Icon,
Sort: *tagInfo.Sort, Sort: *tagInfo.Sort,

View File

@ -259,6 +259,7 @@ type GetTagProductListRsp struct {
type TagItem struct { type TagItem struct {
TypeName string `json:"type_name"` TypeName string `json:"type_name"`
Description string `json:"description"`
TypeId int64 `json:"type_id"` TypeId int64 `json:"type_id"`
Icon string `json:"icon"` Icon string `json:"icon"`
Sort int64 `json:"sort"` Sort int64 `json:"sort"`

View File

@ -309,6 +309,7 @@ type GetTagProductListRsp {
} }
type TagItem { type TagItem {
TypeName string `json:"type_name"` TypeName string `json:"type_name"`
Description string `json:"description"`
TypeId int64 `json:"type_id"` TypeId int64 `json:"type_id"`
Icon string `json:"icon"` Icon string `json:"icon"`
Sort int64 `json:"sort"` Sort int64 `json:"sort"`