模板配置:
- 优惠券名称 {{thing1.DATA}}
- 优惠券数量 {{thing7.DATA}}
- 领取时间 {{date4.DATA}}
- 温馨提示 {{thing5.DATA}}
请求参数:
{
"data": "{\"date4\":{\"value\":\"2024-06-23 20:29:53\"},\"thing7\":{\"value\":\"1\"},\"thing5\":{\"value\":\"快来领取\"},\"thing1\":{\"value\":\"满5000立减2000\"}}",
"lang": "zh_CN",
"miniprogram_state": "trial",
"page": "pages/components/base/h5/h5?url=https://app.woaizuji.com/",
"template_id": "gbQK9wMXHVZYGRXOvXBwq6IAqsI0M0oY9v4naTAktH4",
"touser": "o3eG94kwlbShoGu-7l76T9InBN0E"
}
响应结果:
{
"errcode": 47003,
"errmsg": "argument invalid! data.thing1.value is empty rid: 66682c41-7dd72826-01985a40"
}
data 字段是 object 类型,修改下再试试呢?