chore: 修正 gitignore 并同步项目文档

- .gitignore:logs/ 收窄为 /backend/logs/ —— 原规则(无前导斜杠)匹配任意
  层级同名目录,曾把 frontend/src/views/system/logs 整个吞出版本库
- 同步根/frontend README(进度、e2e 运行方式与环境变量)
- 收录业务确认问题清单(完整版)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
liuwenxin 2026-10-10 16:31:45 +08:00
parent 8355e0cc7d
commit c7212cd93f
3 changed files with 8 additions and 3 deletions

6
.gitignore vendored
View File

@ -26,7 +26,10 @@ out/
# 日志
*.log
logs/
# 后端运行日志目录(core/logging.py 创建)。
# 不要写成裸 `logs/` —— 那会匹配任意层级的同名目录,曾把
# frontend/src/views/system/logs 整个吞掉(文件进不了版本库)
/backend/logs/
# IDE
.idea/
@ -55,3 +58,4 @@ frontend/e2e/*.png
# 备份
backup/
.claude
CLAUDE.md

View File

@ -2,7 +2,7 @@
营销人员绩效工资核算系统。后端 Python/FastAPI,前端 Vue 3,数据存 MySQL,会话与缓存在 Redis。
> 当前进度:登录鉴权链路已跑通(验证码 / JWT / 限流 / 登出黑名单 / 登录日志)。业务模块(基础数据、业务数据、绩效核算、报表)待需求澄清后开发。
> 当前进度:登录鉴权与系统管理(用户/角色/操作日志/日志查询)已完成,前端具备应用布局框架。业务模块(基础数据、业务数据、绩效核算、报表)待需求澄清后开发。
## 快速开始
@ -81,7 +81,8 @@ pnpm type-check # 类型检查
pnpm build # 类型检查 + 生产构建
# 浏览器端到端(需容器、后端、前端都在运行)
python e2e/login_flow.py
python e2e/login_flow.py # 登录链路 8 项
python e2e/system_management.py # 系统管理 13 项
```
## 目录结构

Binary file not shown.