传递的参数------->{
"touser" : "4be7379948610bc4d40c75dc705f336c",
"msgtype" : "miniprogram_notice",
"miniprogram_notice" : {
"appid": "xxxxx",
"page": "pages/news/Reminders/Reminders",
"title": "提醒",
"description": "2022-09-28 15:20:03",
"emphasis_first_item": true,
"content_item": [
{
"key": "今天待提醒",
"value": "0人"
},
{
"key": "明日待提醒",
"value": "1人"
},
{
"key": "逾期提醒",
"value": "0人"
},
{
"key": "设备数量",
"value": "1台"
},
{
"key": "加盟商名称",
"value": "店铺二"
}
]
},
}
2022-09-28 15:20:03.593 INFO 3732770 --- [ Thread-20] c.l.p.service.impl.UmsAdminServiceImpl : 每次推送的结果------->{"errcode":40058,"errmsg":"miniprogram_notice.title exceed min chinese words 4. invalid Request Parameter, hint: [1664349603248533710944601], from ip: 121.36.82.51, more info at https://open.work.weixin.qq.com/devtool/query?e=40058"}
在本地执行可以推送成功,代码提到服务器上就40058