Browse Source

Merge branch 'hotfix/smart_report_1204'

hsun 1 year ago
parent
commit
3475ee54ff
1 changed files with 2 additions and 0 deletions
  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)