- 详情页路由入参统一为 stopId,废弃 targetType/targetId - ExplainDetailEntryRequest 与 GlobalAudioSource 移除 targetType/targetId 字段 - 播放器源匹配仅按 stopId 判定,移除 targetType 兜底 - 删除 explainDetailTarget 死代码 - 清理 guideStopInfoAdapter 中 stop/info、play-info、text-info 旧契约类型与转换函数 - 补充测试服务器 Nginx SSL 部署手册 - 同步更新单测与 e2e 用例 Made-with: Proma
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type {
|
||||
AudioPlayTargetType,
|
||||
ExplainBusinessUnit,
|
||||
ExplainGuideStop,
|
||||
ExplainGuideStopPage,
|
||||
@@ -43,8 +42,6 @@ export interface ExplainAudioSelection {
|
||||
export interface ExplainDetailEntryRequest {
|
||||
exhibitId: string
|
||||
stopId?: string
|
||||
targetType?: AudioPlayTargetType
|
||||
targetId?: string
|
||||
lang?: AudioLanguage
|
||||
version?: GuideAudioVersion
|
||||
// Navigation context is non-authoritative and keeps deep links independent of catalog loading.
|
||||
@@ -99,7 +96,7 @@ export class ExplainUseCase {
|
||||
}
|
||||
|
||||
private resolveDetailStopId(request: ExplainDetailEntryRequest) {
|
||||
return String(request.stopId || request.targetId || request.exhibitId || '').trim()
|
||||
return String(request.stopId || request.exhibitId || '').trim()
|
||||
}
|
||||
|
||||
private async resolveStaticDetailFallback(
|
||||
|
||||
Reference in New Issue
Block a user