Browse Source

appid fix

ziwen 2 years ago
parent
commit
0ef5034b45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/wechat/template_msg.go

+ 1 - 1
services/wechat/template_msg.go

@@ -279,7 +279,7 @@ func SendVoiceBroadcastWxMsg(broadcastId int, sectionName, broadcastName string)
 		wxAppPath = "pages-report/reportDetail?reportId=3800"
 	}
 	if wxAppPath != "" {
-		sendMap["miniprogram"] = map[string]interface{}{"appid": WxYbAppId, "pagepath": wxAppPath}
+		sendMap["miniprogram"] = map[string]interface{}{"appid": WxAppId, "pagepath": wxAppPath}
 	}
 	err = SendMultiTemplateMsg(sendMap, openIdList, wxAppPath, utils.TEMPLATE_MSG_YB_VOICE_BROADCAST)
 	return