微信公众号的第三方文章更新接口有bug

hi,all

背景

最近在做一个项目,是一个微信公众号的管理平台,里面调用到大量的微信公众号api接口。

问题

在使用的过程中,发现公众号的文章的更新接口虽然调用成功了,但该素材对应位置的文章内容和封面并没有更新上去,特别是针对多图文的情况,单图文基本没有任何问题。

微信返回的信息如下

2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][yii\web\Session::open] Session started
2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][application] delete parent article(17296)'s 2 child articles.
2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][application] 0
2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][application] 123
2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][application] ZnDHZIAkP_U6IEKr9U5CjLm1FVV0YDoqi9nvrIRQclc
2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][application] <p>123</p>
2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][application] 1
2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][application] 2123
2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][application] ZnDHZIAkP_U6IEKr9U5CjJWnVmN1w5U1zBrWoEm9as0
2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][application] <p>2123</p>
2017-02-24 11:52:00 [xx.xx.xx.x][1][-][info][application] success to sync article(123) to wechat with response({"errcode":0,"errmsg":"ok"}).

2017-02-24 11:52:00 [xx.xx.xx.x][1][-][info][application] success to sync article(2123) to wechat with response({"errcode":0,"errmsg":"ok"}).

2017-02-24 11:52:00 [xx.xx.xx.x][1][-][info][application] success to update remote article(2123)
2017-02-24 11:51:59 [xx.xx.xx.x][1][-][info][application] $_GET = [
    'r' => 'material/modify'
]

尝试过的方案

  • 使用单图文,并修改,没有任何问题

  • 使用了一些竞品,发现他们也有类似同步丢失的问题

最后

大家有没遇到过类似的问题,又是如何解决的呢?

阅读 2.4k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题