发送客服消息提示invalid openid?
发布于 5 年前 作者 yanlai 12580 次浏览 来自 问答

获取access_token接口:https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wxad1c394d79cac436&secret=xxxx

获取的access_toke:41_56NIAobA2dBjsfCX9hU12K-bWKOmMD2_uFMBGbXNY_d_0y9XQDdXDwGGKv4e0IlQRfiOHEBO5TqKPKiuB7P-zJuZ8UIqCCrjFcOY9pUvfhO3uVzsjX8yuL9jv8Ye_xSpthWvXOU1KzwIJCjnFWCgADARIO

发送客服消息接口:https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=41_56NIAobA2dBjsfCX9hU12K-bWKOmMD2_uFMBGbXNY_d_0y9XQDdXDwGGKv4e0IlQRfiOHEBO5TqKPKiuB7P-zJuZ8UIqCCrjFcOY9pUvfhO3uVzsjX8yuL9jv8Ye_xSpthWvXOU1KzwIJCjnFWCgADARIO

参数:msgtype=[miniprogrampage],fromUserName=[oxXfB4lC3n2Ko9dgfmeFrjz3MZsM], map=[{pagepath=pages/index/index, thumb_media_id=XHlu6vBIfuEExSy5Syl8kedJkyTr3oa3UV4BqG5bYvRPvHX0SbVo6BYEZ5iYkoeW, title=五福连莲}]

请求时间:2021-01-27 18:11:21.333


1 回复

客服消息接口有formUserName这个字段?不是叫touser吗

回到顶部