调用参数如下:
{"welcome_code":"uI3uCrQ2FFPVsFTu7nou0E5pLdIzB3ja6bdljXaeiFY","text":{"content":" 你好【comta(comta)】"},"attachments":[{"msgtype":"link","image":null,"link":{"title":"ttt","picurl":"https://wework.qpic.cn/wwpic/760449_N8vrC8B1RxiFcuG_1629946612/0","desc":"","url":"https://www.baidu.com"},"miniprogram":null,"video":null},{"msgtype":"image","image":{"media_id":"","pic_url":"https://wework.qpic.cn/wwpic/933269_aobXvXbiT7C2yPW_1629946615/0"},"link":null,"miniprogram":null,"video":null},{"msgtype":"miniprogram","image":null,"link":null,"miniprogram":{"title":"首页","pic_media_id":"3GpbDWYYLrlamX1AW2YFeKkbJ1ZlzY30CdrTumP_gPec","appid":"wxa56746a47caa8f38","page":"pages/micro_mall/index/index"},"video":null}]}
我也遇到这个问题,今天早上的好好的,下午就不行了。
联系人UserID:wmKpBlCwAA8-KQwoPmZe-y1jAjpKDodQ
时间点:2021-08-31 18:57:01
麻烦处理一下
我之前也遇到这个问题。发现官方提供的这个新的body结构发送欢迎语确实不行,用旧版的body结构是没问题的。
{ "welcome_code": "CALLBACK_CODE", "text": { "content": "文本消息内容" }, "image": { "media_id": "MEDIA_ID" }, "link": { "title": "消息标题", "picurl": "https://example.pic.com/path", "desc": "消息描述", "url": "https://example.link.com/path" }, "miniprogram": { "title": "消息标题", "pic_media_id": "MEDIA_ID", "appid": "wx8bd80126147df384", "page": "/path/index" } }
见官方文档:https://open.work.weixin.qq.com/wwopen/devtool/interface?doc_id=16489
联系人userid:wmm_tRDwAAkvGUhM4al89V9PakQLmQdg