Files
junhong_cmp_fiber/internal/routes
break bcb1304937
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m8s
修复支付商户路由权限泄漏
registerPaymentMerchantRoutes 使用空前缀 Group 承载权限中间件,
Fiber 将其等价于在整个 /api/admin 上 Use,导致代理账号访问
/api/admin/agent-recharges 等无关路由被误拦。

改为 requirePaymentMerchantAccess 包装函数,仅包装 payment-merchants、
payment-merchant-pools、wechat-authorizations 共 13 个管理路由,
路径、方法与权限语义不变。
2026-09-10 10:00:53 +08:00
..
2026-08-18 16:15:46 +08:00
2026-08-07 11:02:52 +08:00
2026-07-28 10:53:15 +08:00
2026-06-16 09:38:20 +08:00
2026-06-04 14:29:20 +08:00
2026-08-11 11:18:11 +08:00
2026-08-18 16:15:46 +08:00
2026-05-11 11:59:36 +08:00
2026-07-24 16:07:18 +08:00
2026-08-10 16:30:38 +08:00
2026-07-24 16:07:18 +08:00
2026-07-28 10:53:15 +08:00
2026-07-27 17:17:43 +08:00