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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user