模板消息,明明character_string8 有给值,但就是提示是空值, {'touser': 'oldx16uXS_-kRQ14llC3fEFj4WTQ', 'template_id': 'MqYddORtZNe7hHgZuAagVDt3d08JTjlq2ux8nf5KcqE', 'page': 'index', 'data': {'character_string8': 'LZ0000070074', 'phrase2': '***', 'amount3': '100.4元', 'thing9': '王贞元', 'thing11': '中医科'}, 'url': 'http://ynfw.zjqayy.com'} {"errcode":47003,"errmsg":"argument invalid! data.character_string8.value is empty rid: 669f5c11-08a06312-49e64b57"}
data字段格式不对,参考文档示例修改:https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html#%E5%8F%91%E9%80%81%E6%A8%A1%E6%9D%BF%E6%B6%88%E6%81%AF