浏览代码

关闭测试环境的禁用任务

kobe6258 1 月之前
父节点
当前提交
8fe677fc1e
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      controllers/report_share.go

+ 6 - 0
controllers/report_share.go

@@ -217,6 +217,12 @@ func (this *ReportShareController) Detail() {
 				for _, v := range reportChapters {
 					v.Content = services.HandleReportContent(v.Content, "add", tokenMap)
 				}
+
+				if report.ReportLayout == 3 {
+					for _, v := range pageList {
+						v.Content = services.HandleReportContent(v.Content, "add", tokenMap)
+					}
+				}
 			}
 
 		}