hy001
431f73469e
fix: 设备指纹代理限制的封禁豁免补到真正的调用链上
上次修复(0a29464)只改了 other-inner-endpoint 的 RegisterDeviceClientServiceImpl,
但全部 8 个业务拦截点(BD邀请代理/接受邀请建团/代理邀请主播/申请加入公会/后台加成员等)
走的都是 other-infrastructure 的 RegisterDeviceGatewayImpl(领域网关唯一实现),
该实现没有封禁豁免,导致线上 BD 邀请仍报 6054。
本次修复:
1. RegisterDeviceGatewayImpl 循环内补豁免:同设备账号已封禁(checkAccountArchive)
或已注销(profile 为 null,逻辑删过滤)的,不再占用设备主播/代理名额;
2. 设备白名单改为按分隔符切分后精确比对账号,修复子串误命中(账号123被白名单51234命中);
3. RegisterDeviceClientServiceImpl 的重复实现改为单行委托领域网关,消除双份逻辑漂移;
4. 新增 RegisterDeviceGatewayImplTest 覆盖豁免/白名单/手动黑白名单 7 个场景。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 17:42:32 +08:00
..
2026-04-09 21:33:09 +08:00
2026-07-10 12:09:27 +08:00
2026-06-24 12:57:33 +08:00
2026-06-01 19:46:48 +08:00
2026-04-09 21:33:09 +08:00
2026-07-10 17:42:32 +08:00
2026-07-10 17:42:32 +08:00
2026-05-23 14:54:40 +08:00
2026-04-20 23:22:52 +08:00
2026-04-09 21:33:09 +08:00
2026-04-09 21:33:09 +08:00
2026-04-09 21:33:09 +08:00
2026-04-16 20:07:14 +08:00