appid: wxc94f0aa275c9c1d3
请求接口:https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token=ACCESS_TOKEN
参数:
tempData = new {
touser = (string)sdr[“openid”],
mp_template_msg = new {
appid = WxPayConfig.PUB_APPID,
template_id = “_QCEUo8it5c5hC_ayEO0kAuoBiFQM2FpEC7V1Gf5rA0”,
// url = ‘’,//placehold
miniprogram = new {
appid = WxPayConfig.APPID,
pagepath = “pages/index/index?scene=” + spaceid.ToString()
},
data = new {
first = new {
value = “停车位状态异常”,
},
keyword1 = new {
value = parkname,
},
keyword2 = new {
value = DateTime.Now.ToString(“yyyy/MM/dd HH:mm:ss”),
},
keyword3 = new {
value = type,
color = “#173177”
},
remark = new {
value = “车位编号:”+spacename,
}
}
};
请求时间:2018-09-19 14:09:16
执行结果
————无详情,无跳转