chore(web): 删除 scan.html,清理 /scan/ nginx 路由和文档
scan.html 从未被实际触发——二维码 URL 格式为 /product/<uuid>, 由 Flutter Web PublicProductScreen 处理,scan.html 是孤立死页。 - 删除 web/scan.html - 移除 nginx-jiu.conf 中 /scan/ location 块 - 更新文档路由表(/scan/<id> → /product/<uuid>) - 标记 todo #4 完成 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -155,8 +155,7 @@ git push nas main && git push nas v1.1.0
|
||||
│ ├── assets/
|
||||
│ ├── index.html
|
||||
│ ├── docs.html
|
||||
│ ├── download.html
|
||||
│ └── scan.html
|
||||
│ └── download.html
|
||||
├── images/ # 商品图片上传目录
|
||||
└── web-old/ # 上一版本 Flutter Web(回滚备用)
|
||||
```
|
||||
@@ -175,5 +174,5 @@ Systemd 服务名:`jiu`
|
||||
| `/api/*`, `/health`, `/version` | Go 后端 API |
|
||||
| `/images/*` | 商品图片静态文件 |
|
||||
| `/app/` | Flutter 管理端 SPA |
|
||||
| `/product/<uuid>` | 商品扫码公开页(Flutter Web 路由) |
|
||||
| `/` | 营销首页 |
|
||||
| `/scan/<id>` | 商品扫码页 |
|
||||
|
||||
Reference in New Issue
Block a user