fix(publish/sohuhao): align manage URL with v4 console and emit article URL

The v3 manage URL has been retired and now redirects through a login
gate, breaking the post-publish "管理" deeplink and login detection.
Switch the binding console URL and the adapter SOHU_MANAGE_URL to the
v4 contentManagement endpoints, and synthesize external_article_url for
publish (not draft) results from the article id and account uid so the
publish list can offer a "查看文章" link without an extra fetch.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-27 20:06:57 +08:00
parent aa8cc6aff4
commit def2db5902
2 changed files with 9 additions and 4 deletions
@@ -2839,7 +2839,7 @@ const publishBindingDefinitions: Record<string, PublishPlatformBindingDefinition
id: "sohuhao",
label: "搜狐号",
loginUrl: "https://mp.sohu.com/mpfe/v4/login",
consoleUrl: "https://mp.sohu.com/mpfe/v4/news/create",
consoleUrl: "https://mp.sohu.com/mpfe/v4/contentManagement/news/addarticle",
detect: detectSohu,
},
qiehao: {