<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
session.codepage=936
Response.Charset = "GB2312"
%>
<%
url = "http://www.xxx.com"
Dim Arr(4)
Arr(0) = "first=Hi,你好!"
Arr(1) = "keyword1=FromUserName"
Arr(2) = "keyword2="&Now
Arr(3) = "keyword3="&Url
Arr(4) = "remark=这里是备注信息"
color = "#000000"
Openid = "oGYGwuNbebj21KS3ydHKH5Mj5CRs"
template_id = "0x8MfyRiJSOYBPk4qLQ6m3AGdybjmOETitix18_IiBk"
SET Wx = New WxAPI
call Wx.SendMessage(Openid,template_id,Url,Arr,color)
Set Wx=Nothing
%>
微信公众号信送的消息给用户,比如:你的会卡注册成功啊,你的货已发啊,你已成功支付啊,等,这就叫微信公众号模板消息,还有一种是微信公众号客服消息,我也有代码,需要的找我发给你。此代码是asp编写的
=============================================
互相学习电话微信:18611436777(加微信注明事由)
原文地址:https://www.cnblogs.com/lycoco/p/9867902.html
时间: 2024-09-30 04:30:49