This website requires JavaScript.
Explore
Help
Register
Sign In
oadmin
/
sub2api
Watch
1
Star
0
Fork
0
You've already forked sub2api
Code
Issues
Pull Requests
1
Actions
Packages
Projects
Releases
Wiki
Activity
Files
d505c5b2f2af52f56dbf4f51d20b9ea22ee5b252
sub2api
/
backend
History
ianshaw
71bf5b9e77
fix(usage): 使用日志事务和幂等性修复
...
- UsageLogRepository.Create 返回 inserted 标志 - UsageService 使用事务保证原子性 - 避免重复扣费(幂等重试场景) - 更新依赖注入和测试
2026-01-03 17:10:32 -08:00
..
cmd
fix(usage): 使用日志事务和幂等性修复
2026-01-03 17:10:32 -08:00
ent
chore: 更新依赖、配置和代码生成
2026-01-03 06:37:08 -08:00
internal
fix(usage): 使用日志事务和幂等性修复
2026-01-03 17:10:32 -08:00
migrations
fix(test): 修复测试和添加数据库迁移
2026-01-03 06:36:35 -08:00
resources
/model-pricing
First commit
2025-12-18 13:50:39 +08:00
.golangci.yml
Merge PR
#73
: feat(antigravity): 添加 Antigravity (Cloud AI Companion) 平台支持
2025-12-29 20:32:20 +08:00
Dockerfile
First commit
2025-12-18 13:50:39 +08:00
go.mod
chore: 更新依赖、配置和代码生成
2026-01-03 06:37:08 -08:00
go.sum
chore: 更新依赖、配置和代码生成
2026-01-03 06:37:08 -08:00
Makefile
fix(仓储): 修复查询关闭错误并迁移集成测试
2025-12-30 16:41:45 +08:00
tools.go
refactor(数据库): 迁移持久层到 Ent 并清理 GORM
2025-12-29 10:03:27 +08:00