|
@@ -621,13 +621,13 @@ func (this *ReportController) List() {
|
|
|
mapCategoryUrl[categoryIdStr] = imgUrlChart
|
|
|
}
|
|
|
|
|
|
- lenList := len(list)
|
|
|
- for i := 0; i < lenList; i++ {
|
|
|
- item := list[i]
|
|
|
- list[i].Content, _ = services.GetReportContentTextSub(item.Content)
|
|
|
- //list[i].Abstract = html.UnescapeString(item.Abstract)
|
|
|
- //list[i].Abstract, _ = services.GetReportContentTextSub(item.Abstract)
|
|
|
- }
|
|
|
+ //lenList := len(list)
|
|
|
+ //for i := 0; i < lenList; i++ {
|
|
|
+ // item := list[i]
|
|
|
+ // list[i].Content, _ = services.GetReportContentTextSub(item.Content)
|
|
|
+ // //list[i].Abstract = html.UnescapeString(item.Abstract)
|
|
|
+ // //list[i].Abstract, _ = services.GetReportContentTextSub(item.Abstract)
|
|
|
+ //}
|
|
|
|
|
|
for k, v := range list {
|
|
|
//if v.Readnum == 0 && user.CreatedTime.Before(utils.StrTimeToTime(v.PublishDate)) && utils.StrTimeToTime(utils.OnlineTime).Before(utils.StrTimeToTime(v.PublishDate)) {
|