|
@@ -49,31 +49,32 @@ type HomeArticle struct {
|
|
|
}
|
|
|
|
|
|
type ArticleListResp struct {
|
|
|
- ArticleId int `description:"文章id"`
|
|
|
- Title string `description:"标题"`
|
|
|
- TitleEn string `description:"英文标题 "`
|
|
|
- PublishDate string `description:"发布时间"`
|
|
|
- Body string `description:"内容"`
|
|
|
- Abstract string `description:"摘要"`
|
|
|
- ExpertBackground string `description:"专家背景"`
|
|
|
- IsResearch bool `description:"是否属于研选"`
|
|
|
- Pv int `description:"PV"`
|
|
|
- ImgUrlPc string `description:"图片链接"`
|
|
|
- CategoryId string `description:"文章分类"`
|
|
|
- HttpUrl string `description:"文章链接跳转地址"`
|
|
|
- IsNeedJump bool `description:"是否需要跳转链接地址"`
|
|
|
- Source int `description:"来源 1:文章, 2:图表"`
|
|
|
- Annotation string `description:"核心观点"`
|
|
|
- ChartPermissionName string `description:"权限名称"`
|
|
|
- ArticleTypeId int `description:"文章类型ID判断是否是研选使用"`
|
|
|
- BodyImg string `description:"文章封面图片"`
|
|
|
- DepartmentId int `description:"作者Id"`
|
|
|
- NickName string `description:"作者昵称"`
|
|
|
- IsCollect bool `description:"本人是否收藏"`
|
|
|
- IsRed bool `description:"是否标红"`
|
|
|
- CollectNum int `description:"收藏人数"`
|
|
|
- Resource int `description:"来源类型,1:文章、2:产品内测"`
|
|
|
- Cover string `description:"封面图片"`
|
|
|
+ ArticleId int `description:"文章id"`
|
|
|
+ Title string `description:"标题"`
|
|
|
+ TitleEn string `description:"英文标题 "`
|
|
|
+ PublishDate string `description:"发布时间"`
|
|
|
+ Body string `description:"内容"`
|
|
|
+ Abstract string `description:"摘要"`
|
|
|
+ ExpertBackground string `description:"专家背景"`
|
|
|
+ IsResearch bool `description:"是否属于研选"`
|
|
|
+ Pv int `description:"PV"`
|
|
|
+ ImgUrlPc string `description:"图片链接"`
|
|
|
+ CategoryId string `description:"文章分类"`
|
|
|
+ HttpUrl string `description:"文章链接跳转地址"`
|
|
|
+ IsNeedJump bool `description:"是否需要跳转链接地址"`
|
|
|
+ Source int `description:"来源 1:文章, 2:图表"`
|
|
|
+ Annotation string `description:"核心观点"`
|
|
|
+ ChartPermissionName string `description:"权限名称"`
|
|
|
+ ArticleTypeId int `description:"文章类型ID判断是否是研选使用"`
|
|
|
+ BodyImg string `description:"文章封面图片"`
|
|
|
+ DepartmentId int `description:"作者Id"`
|
|
|
+ NickName string `description:"作者昵称"`
|
|
|
+ IsCollect bool `description:"本人是否收藏"`
|
|
|
+ IsRed bool `description:"是否标红"`
|
|
|
+ CollectNum int `description:"收藏人数"`
|
|
|
+ Resource int `description:"来源类型,1:文章、2:产品内测"`
|
|
|
+ Cover string `description:"封面图片"`
|
|
|
+ BodyHighlight []string `description:"搜索高亮展示结果"`
|
|
|
List []*IndustrialManagementIdInt
|
|
|
}
|
|
|
|