test(wxapi): 适配新的接口模型

This commit is contained in:
fudiwei
2021-09-03 14:24:19 +08:00
parent 33afb0cfe6
commit 90a233ddfc
4 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
{
"touser": "OPENID",
"mp_template_msg": {
"appid": "APPID ",
"template_id": "TEMPLATE_ID",
"url": "http://weixin.qq.com/download",
"miniprogram": {
"appid": "xiaochengxuappid12345",
"pagepath": "index?foo=bar"
},
"data": {
"first": {
"value": "恭喜你购买成功!",
"color": "#173177"
},
"keyword1": {
"value": "巧克力",
"color": "#173177"
},
"keyword2": {
"value": "39.8元",
"color": "#173177"
},
"keyword3": {
"value": "2014年9月22日",
"color": "#173177"
},
"remark": {
"value": "欢迎再次购买!",
"color": "#173177"
}
}
}
}