()
| 284 | |
| 285 | |
| 286 | start() { |
| 287 | this.server = this.app.listen(this.port, () => { |
| 288 | console.log('🚀 DLMM Web前端服务器启动成功!'); |
| 289 | console.log(`📱 前端界面: http://localhost:${this.port}`); |
| 290 | |
| 291 | console.log(`🔗 API代理: http://localhost:${this.port}/api`); |
| 292 | console.log('✨ 现代化仪表盘界面已就绪!'); |
| 293 | }); |
| 294 | |
| 295 | // 优雅关闭 |
| 296 | process.on('SIGTERM', () => this.gracefulShutdown()); |
| 297 | process.on('SIGINT', () => this.gracefulShutdown()); |
| 298 | } |
| 299 | |
| 300 | /** |
| 301 | * 🔍 获取所有策略实例列表(包括API服务器日志) |
nothing calls this directly
no test coverage detected