소스 검색

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

Roc 7 달 전
부모
커밋
c7f6b491b9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
 	}
 
 	// 更新推送消息状态