fix(publish/dongchedi): route imagex traffic through session.fetch
Use the account session for imagex apply/upload/commit so the requests carry the same cookies/UA the bind console saw, instead of falling out of the session via a bare Node fetch — bytedance imagex was rejecting these as unauthenticated under the bound session. Also align the binding console URL with the v2 publish article path. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2910,7 +2910,7 @@ const publishBindingDefinitions: Record<string, PublishPlatformBindingDefinition
|
||||
id: "dongchedi",
|
||||
label: "懂车帝",
|
||||
loginUrl: "https://mp.dcdapp.com/login",
|
||||
consoleUrl: "https://mp.dcdapp.com/content/article/create",
|
||||
consoleUrl: "https://mp.dcdapp.com/profile_v2/publish/article",
|
||||
detect: detectDongchedi,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user