Преглед на файлове

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

Roc преди 9 месеца
родител
ревизия
c82f67b5e0
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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