feat: support publish articles to wxmp draft#1016
Open
simonzhangs wants to merge 4 commits into
Open
Conversation
|
🎊 PR Preview has been successfully built and deployed to https://doocs-md-preview-pr-1016.surge.sh |
Member
|
这个 build 报错了,需要检查一下: |
Contributor
Author
好的我看下,pr 先转成 draft pr了 |
Member
|
移动端可以改成悬浮按钮,而不是简单隐藏 |
Contributor
Author
很好的建议,国庆后再贡献趴。 |
Contributor
Author
已处理 |
zeevenn
reviewed
Sep 29, 2025
Member
There was a problem hiding this comment.
如果缺少参数是不是才应该切换 tab,配置了参数就不需要切换了吧,同理其他几个 tab 也是一样
zeevenn
reviewed
Sep 29, 2025
Member
There was a problem hiding this comment.
可以放到 packages/core 下,新增 publish 文件夹,为其他平台增加口子
zeevenn
reviewed
Sep 29, 2025
| } | ||
|
|
||
| export async function addMpArticleDraft(params: MpArticleDraft) { | ||
| let { appID, appsecret, proxyOrigin } = JSON.parse( |
Contributor
|
虽然现在公众号开发者账号密钥 只在图床中使用,但是如果加上发布草稿这个功能, 或者考虑简化理解,增加一个tips,增加一个说明文档。~ 建议建议 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

feat: 新增微信公众号草稿发布功能,支持将Markdown编辑器中的内容直接发布到微信公众号后台作为草稿。
✨ 主要功能如下:
📝 内容发布
🖼️ 封面图处理
⚙️ 配置管理
🎨 用户体验
🎯 使用场景
适用于需要将Markdown内容快速发布到微信公众号的场景,特别是:技术博客作者、内容创作者、自媒体运营者
使用流程:
如果没有公众号图床配置(appID、appsecret),点击发布时会提醒


点击打开配置,会自动弹出图床配置弹窗