From 9d9c051d6dff1aaa078e7558639c01741a1ac106 Mon Sep 17 00:00:00 2001 From: liangxu Date: Thu, 30 Apr 2026 01:28:23 +0800 Subject: [PATCH] feat(media): require cover image for dongchedi publish batches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 懂车帝 has the same cover-mandatory rule as 百家号; treat them the same when deciding whether a publish batch must carry a cover. Co-Authored-By: Claude Opus 4.7 (1M context) --- server/internal/tenant/app/media_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/internal/tenant/app/media_service.go b/server/internal/tenant/app/media_service.go index e370ad3..b6b9ce6 100644 --- a/server/internal/tenant/app/media_service.go +++ b/server/internal/tenant/app/media_service.go @@ -136,7 +136,7 @@ func (s *MediaService) listArticlePublishRecords(ctx context.Context, tenantID, func publishBatchRequiresCover(accounts []platformAccountSeed) bool { for _, account := range accounts { - if account.PlatformID == "baijiahao" { + if account.PlatformID == "baijiahao" || account.PlatformID == "dongchedi" { return true } }