Files
renjianbo f2e65a8fbb feat: virtual company module, team projects, PWA dishes app, and startup scripts overhaul
- Add company module (3-tier org, CEO planning, parallel departments)
- Add company orchestrator, knowledge extractor, presets, scheduler
- Add company API endpoints, models, and frontend views
- Add 今天吃啥 PWA app (69 dishes, real images, offline support)
- Add team_projects output directory structure
- Add unified manage.ps1 for service lifecycle
- Add Windows startup guide v1.0
- Add TTS troubleshooting doc
- Update frontend (AgentChat UX overhaul, new views)
- Update backend (voice engine fix, multi-tenant, RBAC)
- Remove deprecated startup scripts and old docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-10 22:37:56 +08:00
..

photos/ — 照片存储目录

目录结构

photos/
├── test/                          # 示例测试图片(运行 `python 07-photo_service.py sample` 生成)
│   ├── sample_original.jpg        # 1920×1280 (蓝色)
│   ├── sample_small.jpg           # 640×480 (绿色)
│   ├── sample_portrait.jpg        # 800×1200 (橙色)
│   ├── sample_ultra_large.jpg     # 4096×2160 (红色)
│   └── thumbnails/
│       └── *_thumb.jpg            # 256×256 正方形缩略图
│
├── {child_id}/                    # 按孩子分目录(运行时自动创建)
│   ├── {YYYY-MM}/                 # 按年月分子目录
│   │   └── {child_id}_{hash}_{ts}.jpg    # 压缩后原图
│   └── thumbnails/
│       └── {hash}_thumb.jpg       # 256×256 正方形缩略图
│
└── README.md                      # 本文件

运行说明

  1. 安装依赖:pip install Pillow>=10.0
  2. 生成示例图片:python 07-photo_service.py sample
  3. 运行自测:python 07-photo_service.py test