Files
telegram-management-system/quick-test.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

42 lines
1.4 KiB
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
echo "========================================="
echo "📡 Telegram 管理系统运行状态检查"
echo "========================================="
echo ""
# 检查前端服务
echo "🌐 前端服务 (端口 8890):"
if curl -s -o /dev/null -w "%{http_code}" http://localhost:8890 | grep -q "200"; then
echo "✅ 前端服务运行正常"
echo " 访问地址: http://localhost:8890"
else
echo "❌ 前端服务未响应"
fi
echo ""
# 检查后端服务
echo "🔧 后端服务 (端口 3000):"
if curl -s -o /dev/null -w "%{http_code}" http://localhost:3000 | grep -q "404"; then
echo "✅ 后端服务运行正常"
echo " API地址: http://localhost:3000"
else
echo "❌ 后端服务未响应"
fi
echo ""
# 显示进程信息
echo "📊 运行中的进程:"
ps aux | grep -E "vue-cli-service|node src/Server.js" | grep -v grep | awk '{print " PID:", $2, "命令:", $11, $12, $13}'
echo ""
echo "========================================="
echo "🚀 快速访问链接:"
echo "========================================="
echo "1. 主页: http://localhost:8890"
echo "2. 登录: http://localhost:8890/#/login"
echo "3. Telegram快速访问: http://localhost:8890/#/tgAccountManage/telegramQuickAccess"
echo "4. 账号列表: http://localhost:8890/#/tgAccountManage/tgAccountList"
echo ""
echo "✨ 提示: 前端在 8890 端口,不是 8080那是你的 Dify"
echo "========================================="