server: web 静态托管完善 + 联调脚本 + 清理过期工具

- main.go/auth_middleware: web 静态目录托管与 history 回退、Chrome DevTools 探测处理
- 新增 scripts/build_web.sh(缓存判断构建 web)与 scripts/dev.sh(一键构建+启动)
- 删除已过时的 routes.sh(goframe 自动生成 api.json)与 split_db(数据库已拆分完毕)
- docs: 补充联调与测试规范(测试必须用真实用户数据 wenwu901/123456)
This commit is contained in:
2026-08-04 17:15:37 +08:00
parent 5746d773de
commit fc56b47406
13 changed files with 196 additions and 272 deletions
+4 -1
View File
@@ -1,6 +1,9 @@
services:
slogan-agent:
build: .
# 统一镜像包含 Flutter web 前端(Dockerfile web-builder stage 构建)
build:
context: ..
dockerfile: server/Dockerfile
container_name: slogan-agent
restart: unless-stopped
ports: