Browse Source

fix:报告章节的创建时间调整

Roc 8 months ago
parent
commit
c82f67b5e0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/report_chapter.go

+ 1 - 0
controllers/report_chapter.go

@@ -120,6 +120,7 @@ func (this *ReportController) AddChapter() {
 	reportChapterInfo.IsEdit = 1
 	//reportChapterInfo.CreateTime = req.CreateTime
 	reportChapterInfo.CreateTime = reportInfo.CreateTime
+	reportChapterInfo.ModifyTime = time.Now()
 	reportChapterInfo.ReportCreateTime = time.Now()
 	reportChapterInfo.VideoKind = 2
 	reportChapterInfo.Stage = reportInfo.Stage