xyxie hai 1 ano
pai
achega
7e5e066fce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/report.go

+ 1 - 1
services/report.go

@@ -188,7 +188,7 @@ func PublishReport(cont context.Context) (err error) {
 			_ = UpdateReportEs(item.Id, 2)
 
 			// 判断是否未发送模版消息,并且配置了立即推送模版消息的报告需要推送
-			if utils.SendWxTemplateEnable == "on" {
+			if utils.SendWxTemplateEnable == "1" {
 				if item.MsgIsSend == 0 && item.PreMsgSend == 1 {
 					_ = ReportSendTemplateMsg(item.Id)
 				}