feat(desktop-client/wangyihao): harden token capture and draft submit flow

Inject the YiDun guardian client to obtain ursToken without relying on
window.neg, fetch the publish detail (wemediaId/onlineState/...) before
saving drafts so 100002 "参数错误" stops blocking submit, downgrade
markdown tables to paragraph rows like Baijiahao, and surface friendlier
errors for token, draft and publish-click failures.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-30 18:15:20 +08:00
parent 9525c1144d
commit bf25fa1a80
6 changed files with 701 additions and 87 deletions
+2 -3
View File
@@ -11,9 +11,8 @@
ZOL: 主打 app, 图片 ok 文字,表格 ok
搜狐:图片 ok 文字 ok 表格 ok
懂车帝 图片 ok 表格官方不支持,降级处理 (CDP)
微信公众号:图片 ok 文字 ok 表格 ok (CDP)
https://www.liefutuan.com/21397.html
待测:
网易:媒体资质没下来
网易:图片 ok 表格官方不支持,降级处理 (CDP)