Initial commit: 宁夏智慧养殖监管平台

This commit is contained in:
shenquanyi
2025-08-25 15:00:46 +08:00
commit ec72c6a8b5
177 changed files with 37263 additions and 0 deletions

13
backend/test-simple-db.js Normal file
View File

@@ -0,0 +1,13 @@
const { testConnection } = require('./config/database-simple');
async function test() {
console.log('测试数据库连接...');
const result = await testConnection();
if (result) {
console.log('✅ 数据库连接测试成功');
} else {
console.log('❌ 数据库连接测试失败');
}
}
test();