zerosaturation
|
7074546959
|
feat:新增通知系统
|
2026-06-16 21:30:58 +08:00 |
|
zerosaturation
|
060e4944fa
|
fix:修改JWTbug
|
2026-06-15 21:12:59 +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 |
|
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
|
a1b42b9ccd
|
feat: 初始化 Redis 连接
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-05-14 17:33:33 +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
|
06f4038a75
|
提交后端代码
|
2026-04-07 22:29:48 +08:00 |
|