修复纯展示广告明细类型字段缺失 #86

Merged
guke merged 1 commits from codex/fix-impression-detail-type into main 2026-07-27 14:18:41 +08:00
Member

问题

impressionOnlyDetail 返回 AdRevenueDetailRow 时缺少 AdRevenueRecord 的必填字段 adn 和 slot_id,导致 next build 在类型检查阶段失败。

修复

  • 从 AdRevenueRow 透传 adn
  • 从 AdRevenueRow 透传 slot_id
  • 保留 source_adn 的现有展示口径

验证

  • npm run build 通过
  • TypeScript 类型检查通过
  • 生产静态页面生成通过
## 问题 impressionOnlyDetail 返回 AdRevenueDetailRow 时缺少 AdRevenueRecord 的必填字段 adn 和 slot_id,导致 next build 在类型检查阶段失败。 ## 修复 - 从 AdRevenueRow 透传 adn - 从 AdRevenueRow 透传 slot_id - 保留 source_adn 的现有展示口径 ## 验证 - npm run build 通过 - TypeScript 类型检查通过 - 生产静态页面生成通过
linkeyu added 1 commit 2026-07-27 14:04:27 +08:00
在纯展示明细中透传广告网络和广告位字段,满足 AdRevenueRecord 的必填类型要求,恢复生产构建。
guke merged commit f63378ebd4 into main 2026-07-27 14:18:41 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WonderableAI/shaguabijia-admin-web#86