123456789101112131415161718192021222324252627282930313233343536373839 |
- package models
- import (
- "github.com/rdlucklib/rdluck_tools/paging"
- )
- type SearchItem struct {
- ArticleId int `description:"文章id"`
- Body []string `description:"搜索结果"`
- Title string `description:"标题"`
- PublishDate string `description:"发布时间"`
- ExpertBackground string `description:"专家背景"`
- ImgUrlPc string `description:"图片链接"`
- CategoryId string `description:"文章分类"`
- Source int `description:"来源 1:文章, 2:图表"`
- IsResearch bool `description:"是否属于研选"`
- Pv int `description:"Pv"`
- }
- type CategoryItem struct {
- CategoryName string
- }
- type SearchResp struct {
- Paging *paging.PagingItem
- List []*SearchItem
- ChartList []*HomeChartListResp `description:"图表列表"`
- }
|