fix: 适配订阅助手 V3 统一响应并调整发布门禁 - #372
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
MoviePilot V3 统一响应路由会自动包装普通业务数据。订阅助手概览接口却声明为已经封装的
Response[dict],实际返回裸业务字典,导致响应校验失败,打开配置页时显示“未知错误”。同时,V3 发布门禁仍把首次迁移时的版本关系和固定迁移说明应用到后续版本,无法为补丁版本填写真实发布说明。
调整
dataResponseAPIRoute回归测试,验证最终 HTTP 响应契约v3=false验证
.githooks/pre-pushcompileall、JSON 校验、git diff --check