zerosaturation
|
7734d33697
|
feat:修改ws的配置
|
2026-06-15 22:33:37 +08:00 |
|
zerosaturation
|
3d3f2260f3
|
feat(statistic): T13-T16 Gateway routes + 5-service business integration (7/7 event types)
Gateway:
- 7 routes /api/v1/dashboard/* with JWT auth (middleware.AuthMiddleware)
- statistic_controller.go: 7 methods, response format {code:200, data:resp}
- gateway/main.go: StatisticServiceClient wired
- gateway/config: StatisticServiceURL (DUBBO_STATISTIC_SERVICE_URL, default tri://127.0.0.1:20009)
pkg/statistic SDK:
- fire-and-forget TrackEvent + BatchTrackEvent
- Init(client) + Get() global singleton pattern
Business-side integration (7/7 event types):
- socialService.LikeAsset → asset.like
- galleryService.PlaceAsset → exhibition.start
- galleryService.RemoveFromSlot → exhibition.end (with duration_ms)
- taskService.OnExhibitionCompleted → exhibition.revenue
- assetService.CreateMintOrder → asset.mint
- assetService.logLevelChange → asset.level_up
- userService.UpdateCrystalBalance → crystal.change (wrapper fn added)
Cache warmup:
- main.go: 7 RPCs x 5 sample starIDs at startup (15s delay)
- prevents cold-start DB thundering herd
Existing service modifications:
- galleryService/exhibition_service.go
- taskService/revenue_service.go
- assetService/{mint_service,asset_level_service}.go
- userService/user_service.go
- socialService/asset_like_service.go
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-06-08 17:20:53 +08:00 |
|
zerosaturation
|
456bf10352
|
feat: 修改合并bug
|
2026-06-04 00:52:32 +08:00 |
|
|
|
f0b650de26
|
feat: 解决合并冲突
|
2026-06-04 00:03:40 +08:00 |
|
liulong
|
b9527bee70
|
feat:合并新
|
2026-06-03 22:41:19 +08:00 |
|
liulong
|
10168f8e6b
|
feat:实现AI生成镭射卡功能
|
2026-06-03 22:19:22 +08:00 |
|
zerosaturation
|
17c68c9233
|
feat:增加的ai搭子对话功能
|
2026-05-28 12:00:19 +08:00 |
|
zerosaturation
|
0d591fdd94
|
feat: 修改展览页
|
2026-05-20 17:05:02 +08:00 |
|
zerosaturation
|
3ef3510303
|
feat:修改展示收益
|
2026-05-15 11:49:00 +08:00 |
|
zerosaturation
|
e599f8a349
|
feat: 添加 Redis 配置项
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-05-15 11:49:00 +08:00 |
|
zerosaturation
|
55104d5aef
|
fix: 修改模拟数据路径
|
2026-04-21 15:18:55 +08:00 |
|
zerosaturation
|
bcaa743446
|
feat: 新增星册类型选择
|
2026-04-20 16:00:10 +08:00 |
|
zerosaturation
|
4e13c86aa4
|
fix: 修改任务系统奖励修复
|
2026-04-15 14:11:07 +08:00 |
|
zerosaturation
|
9a2d597e2b
|
feat: 修改遗留bug
|
2026-04-12 16:05:13 +08:00 |
|
zerosaturation
|
06f4038a75
|
提交后端代码
|
2026-04-07 22:29:48 +08:00 |
|