|
@@ -889,6 +889,7 @@ func (this *UserController) CommnetList() {
|
|
|
}
|
|
|
if comment.ArticleId > 0 {
|
|
|
item.RedirectType = 1
|
|
|
+ item.Id = item.ArticleId
|
|
|
} else if comment.IndustryId > 0 {
|
|
|
detail, err := models.GetIndustrialManagementDetail(comment.IndustryId)
|
|
|
if err != nil {
|
|
@@ -897,9 +898,11 @@ func (this *UserController) CommnetList() {
|
|
|
return
|
|
|
}
|
|
|
item.RedirectType = 3
|
|
|
+ item.Id = item.VideoId
|
|
|
item.ChartPermissionId = detail.ChartPermissionId
|
|
|
} else if comment.ActivityId > 0 {
|
|
|
item.RedirectType = 2
|
|
|
+ item.Id = item.ActivityId
|
|
|
}
|
|
|
resp.List = append(resp.List, &item)
|
|
|
}
|