1. 程式人生 > >asp微信模板消息用於公眾號推送消息給用戶asp源碼

asp微信模板消息用於公眾號推送消息給用戶asp源碼

open bsp send key 找我 mes image img col

<%@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(加微信註明事由)

技術分享圖片

asp微信模板消息用於公眾號推送消息給用戶asp源碼