|
@@ -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)
|
|
|
}
|