|
eedee45861
|
删除价格处理相关的旧代码,更新价格模型以支持新的扩展价格字段,优化前端展示逻辑,提升用户体验和代码可维护性。
|
2025-05-01 01:27:06 +08:00 |
|
|
817f51b75a
|
更新价格模型,新增多个扩展价格倍率字段以支持更复杂的价格计算逻辑,同时将前端展示从表格布局改为卡片布局,提升用户体验和可读性。
|
2025-05-01 00:53:53 +08:00 |
|
|
9f51ac602e
|
实现内存缓存机制,优化数据库查询性能
- 新增内存缓存接口和实现,支持设置过期时间
- 在数据库初始化时创建全局缓存实例
- 为模型类型、提供商和价格查询添加缓存层
- 实现定期缓存常用数据的后台任务
- 优化数据库查询,减少重复查询和不必要的数据库访问
- 为价格查询添加索引,提高查询效率
|
2025-03-07 00:28:36 +08:00 |
|
|
31f65a9301
|
优化用户模型 Email 字段长度限制
- 为 Email 字段添加 varchar(191) 类型约束
- 确保数据库兼容性和索引性能
|
2025-03-06 23:37:14 +08:00 |
|
|
aeb05f790a
|
重构数据库层并迁移到 GORM
- 将数据库操作从原生 SQL 迁移到 GORM ORM
- 更新模型定义,添加 GORM 标签和关系
- 移除手动创建表的 SQL 方法,改用 AutoMigrate
- 更新所有数据库相关处理逻辑以适配 GORM
- 升级 Go 版本和依赖库
- 移除数据库和路由中间件,简化项目结构
|
2025-03-06 23:32:18 +08:00 |
|
|
0bdadcfef7
|
新增模型类型管理功能
- 后端添加模型类型的增删改查接口,并增加管理员权限控制
- 扩展模型类型模型,新增排序字段
- 前端新增模型类型管理页面入口和路由
- 优化模型类型查询,支持按排序字段排序
- 在创建和更新价格时增加模型重复性检查
|
2025-03-06 23:16:18 +08:00 |
|
|
330963418e
|
Remove SQLite migration and related code
|
2025-02-23 04:03:20 +08:00 |
|
|
c9a9e7b845
|
Update Price model and migration to use unsigned integer for channel_type
|
2025-02-23 03:42:38 +08:00 |
|
|
a2932ecf6b
|
Migrate from SQLite to MySQL: Update database configuration and schema
|
2025-02-23 03:37:10 +08:00 |
|
|
6fa37f6d6a
|
Add model type support for pricing management
|
2025-02-21 11:51:53 +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 |
|