公众号被动回复图文消息出现问题?
发布于 4 年前 作者 yong58 7059 次浏览 来自 官方Issues

在使用公众号被动回复图文消息时,响应:

<xml>

<ToUserName><![CDATA[gh_...ef]]></ToUserName>

<FromUserName><![CDATA[oThsm...re5Zc5qs]]></FromUserName>

<CreateTime>1602298585</CreateTime>

<MsgType><![CDATA[news]]></MsgType>

<ArticleCount>1</ArticleCount>

<Content><![CDATA[图文回复]]></Content>

<Articles>

<item>

<Title><![CDATA[图文消息测试]]></Title>

<Description><![CDATA[你好点击链接]]></Description>

<PicUrl><![CDATA[https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=3621632508,3560469461&fm=26&gp=0.jpg]]></PicUrl>

<Url><![CDATA[https://www.baidu.com/]]></Url>

</item>

</Articles>

<FuncFlag>0</FuncFlag>

</xml>

{“errcode”:44003,“errmsg”:“empty news data hint: [c.ZH_a03390016] rid: 5f8125cb-748852d6-170cc6f5”},这边自查经过对比官方文档,发现格式,内容没有问题,麻烦解决一下

2 回复

多了一些字段吧

<Content><![CDATA[图文回复]]></Content>

<FuncFlag>0</FuncFlag>

然后下面两个写反了吧,toUserName才是openId

<ToUserName><![CDATA[gh_...ef]]></ToUserName>

<FromUserName><![CDATA[oThsm...re5Zc5qs]]></FromUserName>

被动回复怎么会有返回信息?你的已经是返回了

回到顶部