Browse Source

fix:模板消息推送的bug修复

Roc 7 months ago
parent
commit
c7f6b491b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/report.go

+ 1 - 1
controllers/report.go

@@ -1912,7 +1912,7 @@ func (this *ReportController) SendMsg() {
 	// 可能存在历史数据两个只推了一个所以此处加个判断
 	// 推送模板消息
 	if reportInfo.MsgIsSend == 0 {
-		go services.SendMiniProgramReportWxMsg(req.ReportId)
+		services.SendMiniProgramReportWxMsg(reportInfo.Id)
 	}
 
 	// 更新推送消息状态