|
@@ -480,11 +480,12 @@ func (this *SmartReportController) Publish() {
|
|
|
_ = utils.Rc.LPush(utils.CACHE_CREATE_REPORT_IMGPDF_QUEUE, queue)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
if state == smart_report.SmartReportStateWaitPublish {
|
|
|
- cols = append(cols, "DetailImgUrl", "DetailPdfUrl")
|
|
|
+ cols = append(cols, "DetailImgUrl", "DetailPdfUrl", "PrePublishTime")
|
|
|
item.DetailImgUrl = ""
|
|
|
item.DetailPdfUrl = ""
|
|
|
+ item.PrePublishTime = time.Time{}
|
|
|
}
|
|
|
if e = item.Update(cols); e != nil {
|
|
|
br.Msg = "操作失败"
|