This commit is contained in:
dzl
2025-09-24 15:45:49 +08:00
parent 658ff89c6a
commit 0388f3b0e7
4 changed files with 24 additions and 2 deletions

View File

@@ -249,6 +249,9 @@ app.use('/api/announcements', require('./routes/announcements')); // 通知公
app.use('/api/wechat-pay', require('./routes/wechatPay')); // 只保留微信支付
app.use('/api/payment', require('./routes/payment'));
// 商城后台相关接口
app.use('/api/shopbackend', require('./routes/shopbackend'));
// 前端路由 - 必须在最后作为fallback
app.get('/', (req, res) => {
res.removeHeader('Origin-Agent-Cluster');