merge: 合并热重载功能分支

合并 feature-ms-v0.0.1-SNAPSHOOT-20260319 的热重载实现:
- 使用 notify-debouncer-mini 监听 mocks 目录变化
- AppState 使用 RwLock<MockRouter> 支持并发读写
- 200ms 防抖避免编辑器保存时的多次触发

保留当前分支的功能:
- 文件上传功能 (upload.rs)
- 请求体 body 匹配支持
- 完整的测试覆盖 (43个测试)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-19 22:20:20 +08:00
5 changed files with 163 additions and 39 deletions

View File

@@ -25,4 +25,4 @@ response:
"msg": "success"
}
settings:
delay_ms: 200 # 模拟真实网络延迟
delay_ms: 2000 # 模拟真实网络延迟