|
9f51ac602e
|
实现内存缓存机制,优化数据库查询性能
- 新增内存缓存接口和实现,支持设置过期时间
- 在数据库初始化时创建全局缓存实例
- 为模型类型、提供商和价格查询添加缓存层
- 实现定期缓存常用数据的后台任务
- 优化数据库查询,减少重复查询和不必要的数据库访问
- 为价格查询添加索引,提高查询效率
|
2025-03-07 00:28:36 +08:00 |
|
|
aeb05f790a
|
重构数据库层并迁移到 GORM
- 将数据库操作从原生 SQL 迁移到 GORM ORM
- 更新模型定义,添加 GORM 标签和关系
- 移除手动创建表的 SQL 方法,改用 AutoMigrate
- 更新所有数据库相关处理逻辑以适配 GORM
- 升级 Go 版本和依赖库
- 移除数据库和路由中间件,简化项目结构
|
2025-03-06 23:32:18 +08:00 |
|
|
2efb33fc2f
|
Enhance provider management and price filtering with model type and ID handling
|
2025-02-21 12:07:56 +08:00 |
|
|
1d16333e11
|
Replace "supplier" terminology with "model vendor" across frontend and backend
|
2025-02-08 21:03:01 +08:00 |
|
|
7487aaadda
|
Remove Deno-specific configuration files and migrate to Cloudflare Workers environment
|
2025-02-08 17:32:58 +08:00 |
|