请求体
{"touser":"xxxx","data":{"thing2":{"value":"天龙八部"},"phrase1":{"value":"审核通过"}},"template_id":"PNjO163UJwfw6UjgqUWVV0ctsToaI-FC4qTwWd9s6ZY","miniprogram_state":"formal","page":"pages/index/index","lang":"zh_CN"}
同样的请求体在测试工具中可以正确实现推送,但是部署到云托管后执行就会报错
{"errcode":47003,"errmsg":"argument invalid! data.phrase1.value invalid rid: 6667c5e1-58b063a7-2cb9ac6f"}
你好,处理下中文乱码
{"touser":"opokS7V7h85NIfF4s5AnVNFCoI9w","data":{"thing2":{"value":"???????"},"phrase1":{"value":"????"}},"template_id":"PNjO163UJwfw6UjgqUWVV0ctsToaI-FC4qTwWd9s6ZY","miniprogram_state":"formal","page":"pages/index/index","lang":"zh_CN"}
打印下日志看看,是不是编码问题