Parcourir la source

Merge branch 'hotfix/smart_report_1204'

hsun il y a 1 an
Parent
commit
3475ee54ff
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      controllers/smart_report/smart_report.go

+ 2 - 0
controllers/smart_report/smart_report.go

@@ -96,6 +96,8 @@ func (this *SmartReportController) Add() {
 	item.State = smart_report.SmartReportStateWaitPublish
 	item.CreateTime = time.Now().Local()
 	item.ModifyTime = time.Now().Local()
+	item.ContentModifyTime = time.Now().Local()
+
 	// 继承报告
 	if req.AddType == 2 {
 		ob := new(smart_report.SmartReport)