docs: mark T-404 accepted
This commit is contained in:
+7
-1
@@ -895,4 +895,10 @@
|
||||
- 第2点文档:同步本地图片目录规则,新采集/新生成图片改为 `images/<batch_id>/<slug>/<task_id>_<item_id>_old/new.jpg`;DB 已存旧路径继续作为权威路径,不迁移、不推断。
|
||||
- 第2点代码:新增 `app/image_paths.py` 统一图片路径 helper;`CollectWorker` 的旧封面目标路径、`ai.generate_batch()` 的新封面目标路径、`editor.collect()` 兜底旧封面路径均接入该规则。历史 `old_cover_path/new_cover_path` 仍按 DB 记录读取。
|
||||
- 测试:新增 `tests/test_image_paths.py`;更新 `tests/test_ai.py`、`tests/test_gui.py`、`tests/test_editor_login.py`。验证通过:`python -m py_compile app/image_paths.py app/ai.py app/gui.py app/editor.py tests/test_image_paths.py tests/test_ai.py tests/test_gui.py tests/test_editor_login.py`;`python -m unittest discover -s tests -p "test_image_paths.py"`(2 tests);`python -m unittest discover -s tests -p "test_ai.py"`(7 tests);`python -m unittest discover -s tests -p "test_gui.py"`(54 tests);`python -m unittest discover -s tests -p "test_editor_login.py"`(32 tests);`python -m compileall app main.py`;`python -m unittest discover -s tests`(141 tests);`git diff --check` 无空白错误,仅 LF/CRLF 提示。
|
||||
- 下一步:用户复跑 T-404 真实商品链路,重点确认 8 张图商品先删第一张、重复图片提示不再拖到超时、新图片上传成功后可提交。
|
||||
- 下一步:用户复跑 T-404 真实商品链路,重点确认 8 张图商品先删第一张、重复图片提示不再拖到超时、新图片上传成功后可提交。
|
||||
## 【2026-07-01】T-404 完成 · 5 个真实商品更新 Shopee 验收
|
||||
|
||||
- 验收事实:用户手动导入包含 5 个商品 ID 的 Excel,完成 AI 标题和图片生成,并通过 Tab③「开始更新」流程更新到 Shopee。
|
||||
- 覆盖链路:Excel 导入 → AI 生成标题/图片 → Tab③ 安全确认与账号预检 → 打开真实商品详情页 → 更新标题/封面 → Shopee 站点侧确认框 → 提交到线上 → 本地更新结果链路。
|
||||
- 结论:该实测已超过 T-404 原本“真实 Shopee 单条更新冒烟验收”的范围,T-404 标记为 DONE。
|
||||
- 后续:可以开始 T-206「Tab① 删除指定批次」;实现时仍需保留已上线记录提示,默认不删除本地图片,只有用户勾选时才清理关联封面文件。
|
||||
Reference in New Issue
Block a user