Initial commit: Telegram Management System
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:
你的用户名
2025-11-04 15:37:50 +08:00
commit 237c7802e5
3674 changed files with 525172 additions and 0 deletions

27
backend/test-auth.js Normal file
View File

@@ -0,0 +1,27 @@
const axios = require('axios');
async function testAuth() {
try {
// Try without auth
console.log('Testing without auth...');
const response1 = await axios.post('http://localhost:3000/accountCheck/start');
console.log('Success without auth:', response1.data);
} catch (error) {
console.log('Failed without auth:', error.response?.status, error.response?.data?.message);
// Try with dummy token
console.log('\nTesting with dummy token...');
try {
const response2 = await axios.post('http://localhost:3000/accountCheck/start', {}, {
headers: {
'Authorization': 'Bearer dummy-token'
}
});
console.log('Success with token:', response2.data);
} catch (error2) {
console.log('Failed with token:', error2.response?.status, error2.response?.data);
}
}
}
testAuth();