79 Commits

Author SHA1 Message Date
hy001
13a573083e feat: 取消设备维度的主播/代理拦截
业务调整:checkDeviceFingerprintHasAnchor 不再按设备指纹关联判断同设备
是否已有主播/代理,8 个业务拦截点(BD邀请代理/接受邀请建团/代理邀请主播/
申请加入公会/后台加成员等)设备维度全部放行。

保留运营手动黑白名单(user_expand.device_list_block):BLOCK 仍强制拦截。
移除随之失效的指纹关联查询与白名单匹配逻辑及未使用依赖。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 19:37:19 +08:00
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
local
d7c3fbf721 fix account unblock login cache 2026-06-30 23:16:10 +08:00
hy001
1826aa10ab 经理中心 2026-06-24 15:39:54 +08:00
hy001
720c7cec50 Block HK MO TW SG login regions 2026-06-22 13:36:29 +08:00
hy001
de95193bda 经理中心 2026-06-12 19:36:53 +08:00
hy001
7f7649d6bd Merge branch 'test'
# Conflicts:
#	rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/TeamBillTask.java
#	rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/team/impl/TeamManualSalaryPaymentClientServiceImpl.java
#	rc-service/rc-service-other/other-inner-endpoint/src/test/java/com/red/circle/other/app/inner/service/team/impl/TeamManualSalaryPaymentClientServiceImplTest.java
2026-06-01 19:58:08 +08:00
hy001
85f3ffbc10 自动结算 2026-06-01 19:46:48 +08:00
hy001
e3be12cd8b 支持手动工资按月度账期发放 2026-05-29 20:56:57 +08:00
hy001
6573219751 修复送礼报错 2026-05-25 17:07:13 +08:00
hy001
c2e28b5cb3 增加校验 2026-05-25 16:22:18 +08:00
hy001
0260498bd3 CP关系申请 问题修复 2026-05-25 14:32:15 +08:00
hy001
e5eeebf84a cp功能修复 2026-05-25 11:16:53 +08:00
hy001
6405052215 vip时间设置 2026-05-25 10:40:03 +08:00
hy001
5359be337d 修复一些问题 2026-05-23 14:54:40 +08:00
hy001
fa6b9be148 修复边界 2026-05-23 14:02:23 +08:00
hy001
3588d0aeee Merge branch 'main' into test 2026-05-23 13:18:30 +08:00
hy001
0bf810261f 修复首冲 2026-05-23 13:17:06 +08:00
hy001
dfb71f55a8 Merge branch 'main' into test 2026-05-23 12:20:10 +08:00
hy001
c99542ebe9 修改CP相关 2026-05-23 12:19:57 +08:00
hy001
3168637944 已有关系拒绝其他关系 2026-05-22 21:23:19 +08:00
hy001
a0461ce68c CP关系解绑需要金币 2026-05-22 19:17:41 +08:00
hy001
9e37b347a3 cp积分 2026-05-22 13:27:22 +08:00
hy001
8e37a3d333 CP关系冷静期解除 2026-05-21 16:19:53 +08:00
hy001
3f59e5b653 CP 2026-05-21 15:43:38 +08:00
hy001
c02050274b fix manual salary received total display 2026-05-21 15:06:03 +08:00
hy001
3cef4fc322 fix manual salary settlement net payable 2026-05-21 13:46:33 +08:00
hy001
a48fddb613 Merge branch 'release/redis-memory-fix-20260521' of gitea.haiyihy.com:hy/chatapp3-java 2026-05-21 11:19:21 +08:00
hy001
a8424ad5e3 分国家发放工资 2026-05-21 11:19:04 +08:00
hy001
1343fa4631 CP系统 2026-05-21 11:18:31 +08:00
hy001
a0cc63d784 fix: tolerate duplicate region configs 2026-05-20 14:11:54 +08:00
hy001
a9320d58ec 增加VIP 赠送,主播工资统计 2026-05-19 21:00:04 +08:00
hy001
a51c252b36 登录ip查询 2026-05-19 18:01:02 +08:00
hy001
1e94443ee5 Allow Singapore login region 2026-05-19 14:04:40 +08:00
hy001
7d1909858e Add registration failure diagnostics 2026-05-18 10:54:54 +08:00
hy001
9deeef5004 Use monthly team billing cycle 2026-05-17 22:40:43 +08:00
hy001
d9ff507e5f Revert "去掉动态模块"
This reverts commit 94b9063dd634128125744c2b538695e13c305077.
2026-05-17 14:48:11 +08:00
hy001
94b9063dd6 去掉动态模块 2026-05-17 14:27:40 +08:00
hy001
6642ead223 去掉活动配置 2026-05-17 13:41:35 +08:00
hy001
d17f75e42d Fix anchor activity point reset 2026-05-16 22:05:45 +08:00
hy001
310a6c8050 徽章 2026-05-16 02:27:41 +08:00
hy001
1d2961c09a fix: allow Taiwan login access 2026-05-15 19:00:13 +08:00
hy001
04097e530e fix(other): allow Hong Kong login region 2026-05-14 15:57:27 +08:00
hy001
7238e8eb46 用户身份和代理数量bug修复 2026-05-12 20:12:16 +08:00
hy001
3a01a490ab 修复灵仙 2026-05-11 22:50:49 +08:00
hy001
3a0a03d226 增加台湾IP屏蔽 2026-05-09 13:50:07 +08:00
hy001
8d9b3b05d3 增加香港澳门新加坡IP屏蔽 2026-05-09 13:45:41 +08:00
hy001
45cb56b45a fix(auth): login existing account during registration 2026-05-08 11:16:46 +08:00
hy001
41729137ed feat: record login ip region metadata 2026-05-06 20:54:03 +08:00
hy001
194fe0cb0a fix(other): prefer exact country region match 2026-05-06 20:18:39 +08:00