|
@@ -65,22 +65,23 @@ func GetCommentListCount(userId int) (count int, err error) {
|
|
|
}
|
|
|
|
|
|
type CygxArticleCommentResp struct {
|
|
|
- Id int `orm:"column(id);pk" description:"留言id"`
|
|
|
- UserId int `description:"用户id"`
|
|
|
- ArticleId int `description:"文章id"`
|
|
|
- IndustryId int `description:"产业id"`
|
|
|
- ActivityId int `description:"活动id"`
|
|
|
- CreateTime string `description:"创建时间"`
|
|
|
- Mobile string `description:"手机号"`
|
|
|
- Email string `description:"邮箱"`
|
|
|
- CompanyId int `description:"公司id"`
|
|
|
- CompanyName string `description:"公司名称"`
|
|
|
- Content string `description:"内容"`
|
|
|
- Title string `description:"标题"`
|
|
|
- RedirectType int `description:"跳转类型 1文章 2活动 3产业资源包"`
|
|
|
+ Id int `orm:"column(id);pk" description:"留言id"`
|
|
|
+ UserId int `description:"用户id"`
|
|
|
+ ArticleId int `description:"文章id"`
|
|
|
+ IndustryId int `description:"产业id"`
|
|
|
+ ActivityId int `description:"活动id"`
|
|
|
+ ChartPermissionId int `description:"权限id"`
|
|
|
+ CreateTime string `description:"创建时间"`
|
|
|
+ Mobile string `description:"手机号"`
|
|
|
+ Email string `description:"邮箱"`
|
|
|
+ CompanyId int `description:"公司id"`
|
|
|
+ CompanyName string `description:"公司名称"`
|
|
|
+ Content string `description:"内容"`
|
|
|
+ Title string `description:"标题"`
|
|
|
+ RedirectType int `description:"跳转类型 1文章 2活动 3产业视频"`
|
|
|
}
|
|
|
|
|
|
type CygxCommentListResp struct {
|
|
|
- List []*CygxArticleCommentResp
|
|
|
+ List []*CygxArticleCommentResp
|
|
|
Paging *paging.PagingItem
|
|
|
}
|