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
+28
View File
@@ -0,0 +1,28 @@
#!/bin/bash
set -e
echo "========================================="
echo " 服务状态检查"
echo "========================================="
API_STATUS="❌ 未运行"
ADMIN_STATUS="❌ 未运行"
if curl -s http://localhost:8080/api/health > /dev/null 2>&1; then
API_STATUS="✅ 运行中 (http://localhost:8080/api/health)"
fi
if curl -s http://localhost:5173 > /dev/null 2>&1; then
ADMIN_STATUS="✅ 运行中 (http://localhost:5173)"
fi
echo "API 服务: $API_STATUS"
echo "Admin 服务: $ADMIN_STATUS"
echo "========================================="
if [[ "$API_STATUS" == *"✅"* ]] && [[ "$ADMIN_STATUS" == *"✅"* ]]; then
exit 0
else
exit 1
fi