Files
v6ole 8a8ae4ed57 fix: 路由顺序导致 422 + 彻底消除 Header(...) 隐患
1. devices.py: /tags 和 /export/csv 移到 /{device_id}(int) 之前,
   避免 FastAPI 将 'tags'/'export' 当作 device_id 解析失败返回 422
2. audit.py: /logs/export/csv 移到 /logs/{log_id}(int) 之前,同上
3. auth.py: Header(...) → Header(None),统一为手动 401 返回,
   消除全局最后一个 Header(...) 导致的 422 隐患

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-12 14:45:48 +08:00
..
2026-04-02 23:40:04 +08:00
```
2026-04-06 00:40:08 +08:00
```
2026-04-06 00:40:08 +08:00
```
2026-04-06 00:40:08 +08:00