fix: vpay 导出为直接函数

This commit is contained in:
2026-09-14 10:48:23 +08:00
parent 3c9739381c
commit 281cd4877a
+1 -1
View File
@@ -116,4 +116,4 @@ router.post('/recharge', userAuthMiddleware, async (req, res) => {
}
})
module.exports = { registerVpayRoutes: (app) => app.use("/api/vpay", router) }
module.exports = (app) => app.use("/api/vpay", router)