添加银行端后端接口

This commit is contained in:
2025-09-24 17:49:32 +08:00
parent b58ed724b0
commit 111ebaec84
95 changed files with 22115 additions and 4246 deletions

View File

@@ -0,0 +1,16 @@
const axios = require('axios');
async function testLogin() {
try {
console.log('测试登录API...');
const response = await axios.post('http://localhost:3001/api/auth/login', {
username: 'admin',
password: 'Admin123456'
});
console.log('登录成功:', response.data);
} catch (error) {
console.log('登录失败:', error.response ? error.response.data : error.message);
}
}
testLogin();