asp微信模板消息推送,就是微信公众号关注后,登录或是用户有些操作,会给用户推送一条提示信息,见图片,asp的代码,直接下载使用asp微信模板消息发送
'推送模版信息-------------------------------------------------------------------------------------
Dim Arr(7)
Arr(0) = "first=新保单信息如下:"
Arr(1) = "keyword1="&a_name
Arr(2) = "keyword2="&a_tel
Arr(3) = "keyword3="&a_pro
Arr(4) = "keyword4="&a_add
Arr(5) = "keyword5="&a_date
Arr(6) = "keyword6="&a_text
Arr(7) = "remark=提交时间:"&Now
color = "#000000"
Openid = anco_site_lxr
template_id = "YQZtUboqon-rq_ziohcq1jLh-ly5FplvgYTyC61SWzg"
SET Wx = New WxAPI
call Wx.SendMessage(Openid,template_id,Url,Arr,color)
Set Wx=Nothing
'推送结束---------------------------------------------------------------------------------