add: draft + freepublish API by mr-dragon · Pull Request #2356 · binarywang/WxJava
binarywang / WxJava Public
-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Merged
Merged
Conversation
mr-dragon
commented
Oct 23, 2021
mr-dragon
commented
PR:草稿箱和发布能力相关接口
2021-10-14:微信公众平台-新增草稿箱和发布接口的公告
一、新增内容
- 草稿箱能力相关接口
- 发布能力相关接口
二、接口说明
2.1 草稿箱
2.1.1 草稿箱文档
https://developers.weixin.qq.com/doc/offiaccount/Draft_Box/Add_draft.html
2.1.2 已实现+自测成功
- 新建草稿
- 获取草稿
- 删除草稿
- 修改草稿
- 获取草稿总数
- 获取草稿列表
2.1.3 未实现
- 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 已实现+自测成功
- 发布接口
- 发布状态轮询接口
- 删除发布
- 通过 article_id 获取已发布文章
- 获取成功发布列表
2.2.3 未实现
- 事件推送发布结果 -- 是回调,自行实现
2.2.4 发布能力service实现
- me.chanjar.weixin.mp.api.impl.WxMpFreePublishServiceImpl
2.2.5 发布能力测试类
- me.chanjar.weixin.mp.api.impl.WxMpFreePublishServiceImplTest
52LingXiao added 4 commits
binarywang
merged commit
5755c29
into
binarywang:develop
binarywang
mentioned this pull request
Closed
aieyes pushed a commit to aieyes/WxJava that referenced this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment