feat(wangyihao): record public article URL on publish and back-fill responses

Build https://www.163.com/dy/article/<docId>.html when wangyihao tasks finish, and normalize publish-record responses + monitoring alias inputs to surface the same public URL when the doc id is known.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-30 20:55:53 +08:00
parent add918ff4c
commit cdd63db7f1
8 changed files with 208 additions and 64 deletions
@@ -0,0 +1,6 @@
const WANGYI_PUBLIC_ARTICLE_URL_PREFIX = "https://www.163.com/dy/article";
export function wangyihaoPublicArticleUrl(articleId: string): string | null {
const normalized = articleId.trim();
return normalized ? `${WANGYI_PUBLIC_ARTICLE_URL_PREFIX}/${encodeURIComponent(normalized)}.html` : null;
}