mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
test(wxapi): 适配新的接口模型
This commit is contained in:
parent
4e0cf7017a
commit
0e7720a0f1
@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"errcode": 0,
|
||||||
|
"errmsg": "ok"
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"encrypted_msg_hash": "657edd868c9715a9bebe42b833269a557a48498785397a796f1568c29a200b2c"
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"errcode": 0,
|
||||||
|
"errmsg": "ok",
|
||||||
|
"vaild": true,
|
||||||
|
"create_time": 1629121902
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user