topfans/backend/services
zerosaturation a337f43f86 fix(config): port alignment + service test doubles (batch 4.1/4.5)
- gateway/config Dubbo URL 默认端口修正(原 20004/20005 与服务实际 20001/20004 不符);
- userService main.go 硬编码 WithPort(20000) 修死码, -port flag / PORT env 真正生效;
- .env.example 11 个 DUBBO URL 同步(对齐 serviceDefaultPorts map + 实际服务 bind);
- 删除 DUBBO_STARBOOK_SERVICE_URL 死引用(starbookService 已在 batch 4.2 删除);
- .env.example Service Ports 注释块补全 10 行, 与网关 Dubbo URL + port_test 三方一致;
- 10 个 service 各加 port_test.go, 断言 flag 默认与 serviceDefaultPorts map 一致;
- 11 个 port_test 总计 13 测试覆盖(网关 + 10 service);
- .gitignore 加 userService/main.go.bak 排除(临时备份)。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-24 14:02:14 +08:00
..
activityService fix(config): port alignment + service test doubles (batch 4.1/4.5) 2026-07-24 14:02:14 +08:00
aiChatService fix(config): port alignment + service test doubles (batch 4.1/4.5) 2026-07-24 14:02:14 +08:00
assetService fix(config): port alignment + service test doubles (batch 4.1/4.5) 2026-07-24 14:02:14 +08:00
galleryService fix(config): port alignment + service test doubles (batch 4.1/4.5) 2026-07-24 14:02:14 +08:00
moderationService fix(config): port alignment + service test doubles (batch 4.1/4.5) 2026-07-24 14:02:14 +08:00
notificationService fix(config): port alignment + service test doubles (batch 4.1/4.5) 2026-07-24 14:02:14 +08:00
socialService fix(config): port alignment + service test doubles (batch 4.1/4.5) 2026-07-24 14:02:14 +08:00
starbookService
statisticService fix(config): port alignment + service test doubles (batch 4.1/4.5) 2026-07-24 14:02:14 +08:00
taskService fix(config): port alignment + service test doubles (batch 4.1/4.5) 2026-07-24 14:02:14 +08:00
userService fix(config): port alignment + service test doubles (batch 4.1/4.5) 2026-07-24 14:02:14 +08:00