feat:增加微信支付功能

This commit is contained in:
lik
2026-11-05 16:31:51 +08:00
parent 770f7ebb1d
commit 23b9de16a6
12 changed files with 2126 additions and 13 deletions
+4
View File
@@ -1,6 +1,7 @@
import 'dotenv/config';
import { APP } from './app.js'
import WebSocketServerManager from './websocket.js'
import { startPaymentPatrol } from './handler/payment.js'
// HTTP server
const koaApp = new APP();
@@ -9,3 +10,6 @@ koaApp.start(parseInt(process.env.PORT || "9004"));
// WebSocket server
const wsServer = new WebSocketServerManager(parseInt(process.env.WS_PORT || "9005"));
wsServer.start();
// 后台支付巡检查单:默认运行,回调丢失时由此收敛
startPaymentPatrol();