Repository navigation
feat: 对齐 surveycore-py v0.2.0 / 官方 v4.1.0 协议 - #4
Merged
Merged
Conversation
- 移植 wjx/provider/multilevel.py:解析 hfLevelData、拉取 setmenuselnew 选项、按文本路径提交 - 解析阶段识别 type=1 + verify=多级下拉,转为 type=7 并保存 provider_page_raw - 过滤隐藏且无输入框的 type=9 gapfill 占位节点(对标 f7a5094) - 提交准备阶段响应停止信号,避免停止后仍 POST(对标 131355b) - 兼容桌面端 multilevel_dropdown 配置导入,运行时按下拉处理 - 版本升至 0.2.0,对齐官方 4.1.0
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.
概要
对齐
surveycore-pyv0.1.1 → v0.2.0 的协议变更,对应官方桌面端 v4.1.0。Fixes #3
变更
wjx/provider/multilevel.py)hfLevelData层级数据,支持cid编码与DecodeId活动 ID/joinnew/setmenuselnew.aspx拉取叶子选项‐分隔)type=1+verify="多级下拉"→ 按type=7处理,并保存provider_page_rawtype=9 gapfill占位节点(对标f7a5094)131355b)multilevel_dropdown配置导入,运行时按下拉题处理0.2.0,alignedOfficialVersion更新为4.1.0说明
测试
结果:102 个用例通过(1 个既有跳过),新增 6 个多级下拉/占位过滤/配置 round-trip 用例。