-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📌 如何修复因2023-05-04微信推送服务规范整改,导致推送服务异常? #326
Labels
question
Further information is requested
Comments
wangxinleo
changed the title
🤡2023-05-04推送服务宕机,等待修复。
🤡2023-05-04微信推送服务规范整改,导致推送服务异常。等待修复
May 5, 2023
wangxinleo
changed the title
🤡2023-05-04微信推送服务规范整改,导致推送服务异常。等待修复
📌 如何修复因2023-05-04微信推送服务规范整改,导致推送服务异常?
May 5, 2023
确实 |
总结一下我发现的问题:
下面是我调试好的模板,供大家参考:
|
\r 是可以换行的 |
怎么了,怎么了,啊!发生什么了 |
在java中使用 String[] splits = StrUtil.split(longText, 20); //longText为长文本
for (int i = 0; i < splits.length; i++) {
templateMessage.addData(new WxMpTemplateData("rain_" + i, splits[i], (String) colors.get(14))); //这个颜色属性无关紧要
} 将长文本分割成多个字符串,我这里是固定为20的长度 小情书:{{rain_0.DATA}} {{rain_1.DATA}} {{rain_2.DATA}} {{rain_3.DATA}} {{rain_4.DATA}} 可以绕过长文本限制 |
不懂就问,具体应该怎么填写,你说的java中使用要在哪里写入你的语句 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
❓我需要查看本教程嘛?
只涉及到【微信测试号】推送的用户,其他方式不受影响。
❓修复了什么?
❓微信测试号模板应该如何修改才能支持新版本?
{{xxxx.Data}}
,{{xxxx.Data}}
前必须加可读文字。如:1. {{xxxx.Data}}
\n 空格 °
等都会被屏蔽,甚至直接整行不显示❓可以给一个示例模板嘛(有哪些字段是需要这样处理的)?
The text was updated successfully, but these errors were encountered: