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-06-24 12:57:33 +08:00
2026-06-22 13:36:29 +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-27 12:38:08 +08:00
2026-04-09 21:33:09 +08:00
2026-06-24 15:39:54 +08:00
2026-07-10 12:09:27 +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-09 21:33:09 +08:00

red-circle-service

Description

服务后台

Software Architecture

Software architecture description

Installation

  1. xxxx
  2. xxxx
  3. xxxx

Instructions

  1. xxxx
  2. xxxx
  3. xxxx

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/
Description
No description provided
Readme 51 MiB
Languages
Java 68.1%
JavaScript 31.7%