文件
shanghaipeiwan/server/tests
xcbyy 32defce50c fix(order): 关闭按用户 id 撞库档案 id 的订单归属兜底,避免潜在越权读取
- getOrdersForUser/countOrdersForUser 仅按 companions.user_id 关联本人档案,不再使用 companions.id = 用户 id

- 补充回归断言;116 套件/758 用例全绿;线上已验证用户订单仍正常
2026-10-22 11:33:47 +08:00
..