Browse Source

fix:补充字段

Roc 9 months ago
parent
commit
ffe5533047
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/report_v2.go

+ 1 - 1
controllers/report_v2.go

@@ -755,7 +755,7 @@ func (this *ReportController) SaveReportContent() {
 			reportInfo.EndResourceId = req.EndResourceId
 			reportInfo.ModifyTime = time.Now()
 			reportInfo.ContentModifyTime = time.Now()
-			updateCols := []string{"Content", "ContentSub", "HeadImg", "EndImg", "CanvasColor", "HeadResourceId", "EndResourceId", "ModifyTime", "ContentModifyTime"}
+			updateCols := []string{"Content", "ContentSub", "ContentStruct", "HeadImg", "EndImg", "CanvasColor", "HeadResourceId", "EndResourceId", "ModifyTime", "ContentModifyTime"}
 			err = reportInfo.UpdateReport(updateCols)
 			if err != nil {
 				br.Msg = "保存失败"