GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — add: draft + freepublish API by mr-dragon · Pull Request #2356 · binarywang/WxJava

Conversation

@mr-dragon

@mr-dragon mr-dragon commented Oct 23, 2021

Copy link
Copy Markdown

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
52LingXiao added 4 commits October 22, 2021 16:49
@52LingXiao
add:1.草稿箱模块相关api+单元测试类
9568d74
@52LingXiao
modify:1.优化代码,重载方法
3111be1
@52LingXiao
add:1.发布能力相关api+单元测试类
66c8119
@52LingXiao
fix:1.发布列表接口调用路径错误
8faba20
modify: 1.格式化发布代码
@binarywang
binarywang merged commit 5755c29 into binarywang:develop Oct 23, 2021
@binarywang binarywang mentioned this pull request Dec 17, 2021
微信公众号新增了草稿箱功能,请同步实现该功能 #2453
Closed
aieyes pushed a commit to aieyes/WxJava that referenced this pull request Jan 17, 2022
@mr-dragon @aieyes
🆕 binarywang#2356 【公众号】新增草稿箱和发布相关的接口
705dfc3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@mr-dragon @binarywang @52LingXiao
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.