From f4864fafd0cd2537d98933aebc41c223840cb53e Mon Sep 17 00:00:00 2001 From: wuyongtao Date: Tue, 21 Jul 2026 12:41:30 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 030d1bc..df42faa 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,15 @@ DATABASE_URL=postgresql+psycopg://yg_ft:change_me@localhost:15432/yg_ft 本地启动前需要确保 PostgreSQL 已监听 `localhost:15432`,并已创建 `yg_ft` 数据库和 `yg_ft` 用户。后端启动后会自动创建当前运行表并写入内置管理员账号,运行数据统一写入 PostgreSQL。 +开发阶段内置登录账号: + +| 角色 | 账号 | 密码 | 说明 | +| --- | --- | --- | --- | +| 超级管理员 | `admin` | `admin123` | 拥有当前全部页面权限 | +| 操作员 | `operator` | `operator123` | 拥有业务操作相关页面权限 | + +以上账号仅用于本地开发和联调。生产环境初始化后应立即修改密码,或改为企业统一身份认证/管理员初始化流程。 + ## 前端启动 ```bash