Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: draft + freepublish API #2356

Merged
merged 4 commits into from
Oct 23, 2021
Merged

add: draft + freepublish API #2356

merged 4 commits into from
Oct 23, 2021

Conversation

mr-dragon
Copy link

PR:草稿箱和发布能力相关接口

2021-10-14:微信公众平台-新增草稿箱和发布接口的公告

一、新增内容

  1. 草稿箱能力相关接口
  2. 发布能力相关接口

二、接口说明

2.1 草稿箱

2.1.1 草稿箱文档

https://developers.weixin.qq.com/doc/offiaccount/Draft_Box/Add_draft.html

2.1.2 已实现+自测成功

  1. 新建草稿
  2. 获取草稿
  3. 删除草稿
  4. 修改草稿
  5. 获取草稿总数
  6. 获取草稿列表

2.1.3 未实现

  1. MP端开关(仅内测期间使用)-- - 上线后废弃,没实现,可以自己去公众号后台开启草稿箱

2.1.4 草稿箱能力service实现

  • me.chanjar.weixin.mp.api.impl.WxMpDraftServiceImpl

2.1.5 草稿箱测试类

  • me.chanjar.weixin.mp.api.impl.WxMpDraftServiceImplTest

2.2 发布能力

2.2.1 发布能力文档

https://developers.weixin.qq.com/doc/offiaccount/Publish/Publish.html

2.2.2 已实现+自测成功

  1. 发布接口
  2. 发布状态轮询接口
  3. 删除发布
  4. 通过 article_id 获取已发布文章
  5. 获取成功发布列表

2.2.3 未实现

  1. 事件推送发布结果 -- 是回调,自行实现

2.2.4 发布能力service实现

  • me.chanjar.weixin.mp.api.impl.WxMpFreePublishServiceImpl

2.2.5 发布能力测试类

  • me.chanjar.weixin.mp.api.impl.WxMpFreePublishServiceImplTest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants