|
@@ -873,18 +873,19 @@ func (this *UserController) CommnetList() {
|
|
|
|
|
|
for _, comment := range commentlist {
|
|
|
item := models.CygxArticleCommentResp{
|
|
|
- Id: comment.Id,
|
|
|
- UserId: comment.UserId,
|
|
|
- ArticleId: comment.ArticleId,
|
|
|
- IndustryId: comment.IndustryId,
|
|
|
- ActivityId: comment.ActivityId,
|
|
|
- CreateTime: comment.CreateTime.Format(utils.FormatDateTime),
|
|
|
- Mobile: comment.Mobile,
|
|
|
- Email: comment.Email,
|
|
|
- CompanyId: comment.CompanyId,
|
|
|
- CompanyName: comment.CompanyName,
|
|
|
- Content: comment.Content,
|
|
|
- Title: comment.Title,
|
|
|
+ Id: comment.Id,
|
|
|
+ UserId: comment.UserId,
|
|
|
+ ArticleId: comment.ArticleId,
|
|
|
+ IndustryId: comment.IndustryId,
|
|
|
+ ActivityId: comment.ActivityId,
|
|
|
+ VideoId: comment.VideoId,
|
|
|
+ CreateTime: comment.CreateTime.Format(utils.FormatDateTime),
|
|
|
+ Mobile: comment.Mobile,
|
|
|
+ Email: comment.Email,
|
|
|
+ CompanyId: comment.CompanyId,
|
|
|
+ CompanyName: comment.CompanyName,
|
|
|
+ Content: comment.Content,
|
|
|
+ Title: comment.Title,
|
|
|
}
|
|
|
if comment.ArticleId > 0 {
|
|
|
item.RedirectType = 1
|