win 6a2f0bfb58 docs(phase-4): complete execution — 2/2 plans, architecture corrected
- Plan 01: facade uses private _boss/job51/zhilian_api/client files
  Private files now depend on crawler_core directly (not spiderJobs)
  Added asyncio.to_thread async_* methods for ARCH-06
- Plan 02: 11 private files marked DEPRECATED, jobs_spider/ deleted
- Architecture: facade→private→crawler_core; spiderJobs→crawler_core (independent)
- Full regression: 106 passed
2026-03-21 19:40:03 +08:00

35 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Plan 04-02 Summary: 废弃私有复制文件 + 删除 jobs_spider/ARCH-08
**Status:** Complete
**Tasks:** 2/2
## What was built
### 1. 11 个私有复制文件标记废弃
以下 `app/services/crawler/` 中的所有私有文件均在文件头添加了 `⚠️ DEPRECATED — 2026-03-21` 注释:
- `_base.py`ApiResult/BaseFetcher/BaseSearcher 旧版复制)
- `_http_client.py`HTTPClient 旧版复制)
- `_boss_api.py`, `_boss_client.py`, `_boss_sign.py`
- `_job51_api.py`, `_job51_client.py`, `_job51_sign.py`
- `_zhilian_api.py`, `_zhilian_client.py`, `_zhilian_sign.py`
### 2. jobs_spider/ 目录彻底删除
用户明确要求放弃 `jobs_spider/` 代码已完整删除32 个文件):
- `jobs_spider/boss/`boos_api.py 等)
- `jobs_spider/qcwy/`qcwy.py 等)
- `jobs_spider/zhilian/`zhilian_single.py 等)
- `jobs_spider/start_all.sh`, `jobs_spider/Dockerfile`
## Verification
```
pytest tests/ -v → 106 passed ✅(删除无影响)
ls jobs_spider/ → No such file ✅
grep DEPRECATED app/services/crawler/_base.py → ✅ 存在
```
## Self-Check: PASSED