docs: update project documentation with P0/P1/P2 fix status

- Add security features section to README
- Add security architecture section 12.1 and 12.2 to ARCHITECTURE
- Add validation commands section to DEPLOYMENT
- Update PRD with fix completion status
This commit is contained in:
2026-04-18 21:30:14 +08:00
parent 509c5ca2fd
commit 85285c16d1
4 changed files with 130 additions and 18 deletions

View File

@@ -818,6 +818,31 @@ setup.template.pattern: "user-ms-*"
| API 响应时间 | curl -w @curl-format.txt | < 500ms | 优化代码 |
| 错误日志 | tail -f error.log | 无新错误 | 排查问题 |
### 3.2 验证命令
```bash
# Go 构建检查
go build ./cmd/server
# Go 代码检查
go vet ./...
# Go 单元测试(跳过大规模性能测试)
go test ./internal/... -skip TestScale -count=1
# 前端 lint 检查
cd frontend/admin && npm run lint
# 前端测试
cd frontend/admin && npm test
# 前端构建
cd frontend/admin && npm run build
# 安全依赖检查
go run golang.org/x/vuln/cmd/govulncheck@latest ./...
```
---
### 3.2 备份与恢复