rwadurian/backend/services/authorization-service/src/domain
hailin a5089db288 fix: 修复授权唯一性验证不检查地区的bug
授权验证规则:一条推荐线上同一类型授权只能有一个人,不管地区是什么
- 使用 findByUserIdAndRoleType 替代 findByUserIdRoleTypeAndRegion
- 错误信息中显示已存在授权的地区名称

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 13:20:53 -08:00
..
aggregates refactor!: 重构账户序列号格式 (BREAKING CHANGE) 2025-12-12 09:11:18 -08:00
entities refactor(mpc-system): migrate to party-driven architecture with PartyID-based routing 2025-12-05 08:11:28 -08:00
enums feat(withdrawal): implement withdrawal order and fund allocation system 2025-12-09 02:35:27 -08:00
events feat(authorization): add admin APIs for auth-province and auth-city company 2025-12-11 21:46:44 -08:00
repositories refactor!: 重构账户序列号格式 (BREAKING CHANGE) 2025-12-12 09:11:18 -08:00
services fix: 修复授权唯一性验证不检查地区的bug 2025-12-12 13:20:53 -08:00
value-objects refactor!: 重构账户序列号格式 (BREAKING CHANGE) 2025-12-12 09:11:18 -08:00