作者 tangxvhui

Merge branch 'dev' into test

@@ -86,13 +86,23 @@ func (l *MiniArticleBackupSearchLogic) MiniArticleBackupSearch(req *types.MiniAr @@ -86,13 +86,23 @@ func (l *MiniArticleBackupSearchLogic) MiniArticleBackupSearch(req *types.MiniAr
86 case "WhoReview": 86 case "WhoReview":
87 changeFiled = append(changeFiled, "修改了评论范围") 87 changeFiled = append(changeFiled, "修改了评论范围")
88 case "Section": 88 case "Section":
  89 + {
89 item.Title = backupList[i].Title 90 item.Title = backupList[i].Title
90 item.Content = content.String() 91 item.Content = content.String()
91 item.Images = images 92 item.Images = images
92 item.Videos = videos 93 item.Videos = videos
93 } 94 }
  95 +
  96 + }
94 } 97 }
  98 + if len(changeFiled) > 0 {
95 item.ChangeField = changeFiled 99 item.ChangeField = changeFiled
  100 + } else {
  101 + item.Title = backupList[i].Title
  102 + item.Content = content.String()
  103 + item.Images = images
  104 + item.Videos = videos
  105 + }
96 resp.List[i] = item 106 resp.List[i] = item
97 107
98 } 108 }