公众号模板消息格式返回了前文,但是消息发送后前文不显示?
当天查模板格式有前文first:{"template_id":"Q02Idtexb_mOI8zWxBCe9tD36kAO41SCBVM8cYEdP64","title":"注册成功通知","primary_industry":"IT科技","deputy_industry":"互联网|电子商务","content":"{{first.DATA}}\n用户名:{{keyword1.DATA}}\n注册时间:{{keyword2.DATA}}\n{{remark.DATA}}","example":"你好,你已注册成功。\n用户名:fd68956\n注册时间:2014年10月29日 18:36谢谢你的注册,获取200的消费积分。\n\n"}
当天发送消息:{"brandCode":"6","businessNo":"6_40099245","careEventNo":"Register","data":{"first":{"color":"#000000","name":"前文","value":"尊敬的微信用户,欢迎您注册Miss Sixty会员。"},"keyword1":{"color":"#000000","name":"用户名","value":"微信用户"},"keyword2":{"color":"#000000","name":"注册时间","value":"2023-05-31 16:30:30"},"remark":{"color":"#000000","name":"详情","value":""}},"isMiniProgramTemplate":false,"memberNo":"40099245","miniprogram":{"appid":"wx0570a920e9122ffc","pagepath":"subpackage/action/action?articleId=570047&sellerId=36112115"},"templateName":"注册成功通知","templateNo":"Q02Idtexb_mOI8zWxBCe9tD36kAO41SCBVM8cYEdP64","template_id":"Q02Idtexb_mOI8zWxBCe9tD36kAO41SCBVM8cYEdP64","touser":"o8An0jhYigxRpghaQWvAe2_eFDus","toUserId":"40099245","url":""}
用户收到的消息无前文:
first跟remark都干掉了
目前已去除首行内容和尾部备注,参考下公告《关于规范公众号模板消息的再次公告》:https://mp.weixin.qq.com/s/hvLO4Vs75NXDA__SxuyKXw