feat(admin): 添加用户管理相关文件

添加用户管理视图、API和状态管理文件
This commit is contained in:
张翔
2026-03-28 14:37:29 +08:00
commit 08ea5fbe98
1643 changed files with 255646 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
# 启动PostgreSQL数据库
docker run -d \
--name postgres-db \
-e POSTGRES_DB=ziwei_destiny_db \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=123456 \
-p 55432:5432 \
postgres:15-alpine
echo "PostgreSQL数据库已启动,等待5秒..."
sleep 5
echo "检查数据库连接..."
docker exec postgres-db pg_isready -U postgres -d ziwei_destiny_db
echo "数据库启动完成!"