Initial commit: ERP system with advance verification fixes

This commit is contained in:
System Administrator
2026-03-25 23:55:36 +07:00
commit 563ca12d76
5920 changed files with 828689 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
const express = require('express');
const path = require('path');
const app = express();
const PORT = 5001;
// 静态文件服务
app.use(express.static(path.join(__dirname)));
// 测试页面
app.get('/test', (req, res) => {
res.sendFile(path.join(__dirname, 'test.html'));
});
// 健康检查
app.get('/health', (req, res) => {
res.json({
status: 'ok',
service: 'test-server',
timestamp: new Date().toISOString(),
version: '1.0.0'
});
});
// 启动服务器
app.listen(PORT, () => {
console.log(`测试服务器运行在 http://localhost:${PORT}`);
console.log(`测试页面: http://localhost:${PORT}/test`);
});