Initial commit: Telegram Management System
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
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>
This commit is contained in:
68
HOW_TO_USE.md
Normal file
68
HOW_TO_USE.md
Normal file
@@ -0,0 +1,68 @@
|
||||
# 📖 使用说明
|
||||
|
||||
## 🚀 快速开始
|
||||
|
||||
### 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
|
||||
```
|
||||
|
||||
确保所有服务都显示 ✅ 正常
|
||||
Reference in New Issue
Block a user