- scripts/run.sh:写死的 --host 127.0.0.1 改为 HOST 变量(默认 0.0.0.0,.env/环境变量可覆盖, HOST=127.0.0.1 改回仅本机);启动横幅用 UDP 探测本机局域网 IP 并打印「局域网访问 http://<IP>:<PORT>」。 端口占用探测 / 浏览器自动打开仍走 127.0.0.1,行为不变。 - .env.example:服务段新增 HOST=0.0.0.0 及注释。 - README:快速开始两处补局域网访问说明;「run.sh 与容器共存」说明改写——两边现在都占全网卡 8770, 后启动的直接撞端口,共存请 PORT/HOST_PORT 错开。 - Docker 路径本来就是 0.0.0.0 + HOST_PORT 映射,未动。 - 实测:0.0.0.0:8799 监听 ✓ 横幅打印 http://172.16.105.2:8799 ✓ 经局域网 IP /health 200 ✓ |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_ai_export.py | ||
| test_api_contract.py | ||
| test_auth.py | ||
| test_custom_finance.py | ||
| test_periods_projects.py | ||
| test_rbac.py | ||
| test_staff_focus_weekly.py | ||