Files
telegram-management-system/HOW_TO_USE.md
你的用户名 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

68 lines
1.5 KiB
Markdown
Raw Permalink 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.

# 📖 使用说明
## 🚀 快速开始
### 1. 访问系统
打开浏览器,访问:**http://localhost:8890**
### 2. 登录系统 🔐
使用管理员账号密码登录:
- 默认账号admin
- 默认密码:根据你的配置
**注意:必须先登录才能使用所有功能!**
### 3. 访问Telegram功能
登录成功后,在左侧菜单中找到:
- **账号管理** → **Telegram快速访问**
- **账号管理** → **使用指南**
## ❗ 常见问题
### Q: 为什么显示"Missing authentication"
**A:** 这是因为你还没有登录系统。所有API接口都需要认证token才能访问。
**解决方法:**
1. 访问 http://localhost:8890
2. 使用正确的账号密码登录
3. 登录成功后再访问其他功能
### Q: 为什么跳转到登录页?
**A:** 系统检测到你没有登录或登录已过期,会自动跳转到登录页保护系统安全。
### Q: 端口8890打不开
**A:** 检查前端服务是否在运行:
```bash
ps aux | grep vue-cli-service
```
如果没有运行,启动它:
```bash
cd frontend
npm run dev
```
## 📋 正确的使用流程
1. **启动服务**
- 前端在8890端口
- 后端在3000端口
2. **登录系统**
- 访问 http://localhost:8890
- 输入账号密码
- 点击登录
3. **使用功能**
- 查看使用指南
- 访问Telegram快速访问
- 选择合适的访问方式
## 🔧 服务状态检查
运行检查脚本:
```bash
./quick-check.sh
```
确保所有服务都显示 ✅ 正常