@@ -1345,7 +1345,7 @@ func (this *ReportController) PublishDayWeekReportChapter() {
}
var publishTime time.Time
- if reportInfo.MsgIsSend == 1 && reportInfo.PublishTime.IsZero() { //如果报告曾经发布过,并且已经发送过模版消息,则章节的发布时间为报告的发布时间
+ if reportInfo.MsgIsSend == 1 && !reportInfo.PublishTime.IsZero() { //如果报告曾经发布过,并且已经发送过模版消息,则章节的发布时间为报告的发布时间
publishTime = reportInfo.PublishTime
} else {
publishTime = time.Now()
@@ -1051,7 +1051,8 @@ func PublishReport(reportId int, reportUrl string, sysUser *system.Admin) (tips
+