Files
telegram-management-system/quick-check.sh
你的用户名 237c7802e5
Some checks failed
Deploy / deploy (push) Has been cancelled
Initial commit: Telegram Management System
Full-stack web application for Telegram management
- Frontend: Vue 3 + Vben Admin
- Backend: NestJS
- Features: User management, group broadcast, statistics

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 15:37:50 +08:00

39 lines
971 B
Bash
Executable File

#!/bin/bash
echo "====================================="
echo "📋 系统状态快速检查"
echo "====================================="
# 检查前端
echo -n "🌐 前端服务 (8890): "
if curl -s -o /dev/null -w "%{http_code}" http://localhost:8890 | grep -q "200"; then
echo "✅ 正常"
else
echo "❌ 异常"
fi
# 检查后端
echo -n "🔧 后端服务 (3000): "
if curl -s http://localhost:3000 2>&1 | grep -q "401"; then
echo "✅ 正常"
else
echo "❌ 异常"
fi
# 检查API代理
echo -n "🔗 API代理: "
if curl -s -X POST http://localhost:8890/api/login -H "Content-Type: application/json" -d '{}' 2>&1 | grep -q "401"; then
echo "✅ 正常(需要认证)"
else
echo "❌ 异常"
fi
echo ""
echo "📍 访问地址:"
echo " http://localhost:8890"
echo ""
echo "✨ 主要功能:"
echo " 1. Telegram快速访问"
echo " 2. 使用指南"
echo " 3. 完整版聊天"
echo "====================================="