Commit Graph

  • 0b99e1b3fe fix(App.vue): 将论坛反馈按钮的点击事件从箭头函数修改为链接,确保在新窗口中打开链接的行为一致性 main wood chen 2025-07-17 22:14:51 +08:00
  • 81a5eb61e9 feat(config): 添加飞书Webhook配置支持,并在定时任务中注册价格审核检查功能 wood chen 2025-07-17 22:11:31 +08:00
  • 07ebd78cdd fix(App.vue): 修改论坛反馈按钮的点击事件为箭头函数,确保在新窗口中打开链接的行为一致性 wood chen 2025-07-17 21:02:30 +08:00
  • 8fa93b6a53 fix(prices.go): 移除更新价格状态和批准所有价格功能中的冗余字段"updated_by",简化更新逻辑 wood chen 2025-07-17 20:55:23 +08:00
  • 017cef3048 fix(App.vue): 修改论坛反馈按钮的点击事件,确保在新窗口中打开链接 wood chen 2025-07-17 20:51:46 +08:00
  • 309fd4f2fb feat(App.vue, Prices.vue): 添加论坛反馈按钮并优化价格卡片元信息显示 wood chen 2025-07-17 20:48:19 +08:00
  • 04d000b072 fix(auth.go): 更新会话cookie域名和重定向URL,确保与新域名一致 wood chen 2025-06-24 20:09:25 +08:00
  • 604c6bd683 更新页面底部版权信息和讨论链接,修改为SUNAI及其相关链接,确保信息准确性。 wood chen 2025-06-24 19:50:04 +08:00
  • 04d4189d17 style(index.html): 更新字体样式,移除不必要的字体链接,提升页面加载性能 wood chen 2025-06-15 00:14:38 +08:00
  • 26aa717e0c refactor(price_rates.go): 优化四舍五入函数,确保精确计算并移除冗余代码 wood chen 2025-06-01 03:48:07 +08:00
  • 5f8a199d03 style(Prices): 重构价格卡片布局和样式 wood chen 2025-05-22 23:32:58 +08:00
  • 4fea495fe2 fix(Prices.vue): 移除价格来源链接图标,优化显示逻辑 wood chen 2025-05-14 00:55:02 +08:00
  • c70cb20538 style(Prices.vue): 优化价格卡片元信息显示,移除多余文本 wood chen 2025-05-14 00:50:06 +08:00
  • 8f3b6e1f67 feat(Prices.vue): 添加URL有效性检查和格式化功能 wood chen 2025-05-14 00:46:36 +08:00
  • 179fcc108f style(Prices.vue): 优化价格卡片元信息样式和布局 wood chen 2025-05-14 00:38:07 +08:00
  • c9e3cd5608 更新ChannelType常量值,从1002修改为20,以适应新的业务需求,提升代码的灵活性和可维护性。 wood chen 2025-05-14 00:25:26 +08:00
  • fbefb187ea 重构UpdateProvider函数,优化提供商更新逻辑。新增创建新记录、更新价格表中的channel_type和temp_channel_type、删除旧记录的步骤,提升代码可读性和事务处理的清晰度。 wood chen 2025-05-13 11:12:11 +08:00
  • 15e844f64e feat(Prices.vue): 添加模型名称复制功能 wood chen 2025-05-02 16:58:41 +08:00
  • b3c39832d3 新增安全倍率计算函数以避免除以零的情况,优化价格倍率计算逻辑,提升代码的健壮性和可维护性。 wood chen 2025-05-01 06:12:55 +08:00
  • b1dd1f9f88 移除部分厂商ID映射的注释,简化代码结构,提升可读性。 wood chen 2025-05-01 02:01:40 +08:00
  • 85ef87df11 优化价格计算逻辑,新增扩展价格字段的相对基准映射,重构前端展示逻辑,提升用户体验和代码可维护性。 wood chen 2025-05-01 01:57:55 +08:00
  • eedee45861 删除价格处理相关的旧代码,更新价格模型以支持新的扩展价格字段,优化前端展示逻辑,提升用户体验和代码可维护性。 wood chen 2025-05-01 01:27:06 +08:00
  • 817f51b75a 更新价格模型,新增多个扩展价格倍率字段以支持更复杂的价格计算逻辑,同时将前端展示从表格布局改为卡片布局,提升用户体验和可读性。 wood chen 2025-05-01 00:53:53 +08:00
  • e6c405a130 重构价格倍率相关逻辑,将原有的 rates 处理替换为 one_hub 处理,更新相关路由和缓存清除逻辑,提升代码结构和可维护性。同时,前端接口地址也进行了相应调整,以支持新的 one_hub 路由。 wood chen 2025-04-17 20:53:35 +08:00
  • 9b4cee8e0f 优化价格计算精度,将价格除法结果的小数位数从2位调整为4位,以提高价格处理的准确性。 wood chen 2025-04-15 11:18:34 +08:00
  • 7963ac8294 优化价格处理逻辑,新增浮点数比较函数以提高价格比较的准确性。同时重构了临时字段更新逻辑,简化了代码结构,提升了可读性和维护性。 wood chen 2025-04-15 00:18:03 +08:00
  • 49b8dce625 调整OpenRouter价格获取任务的定时执行时间为每4小时的整点,确保任务按预期执行。此更改提升了定时任务的准确性。 wood chen 2025-04-15 00:13:50 +08:00
  • 7a656bbeae 重构定时任务初始化逻辑 wood chen 2025-03-26 14:35:54 +08:00
  • 50866158c6 优化价格倍率计算逻辑,使用map存储模型及其对应的最高倍率,确保不区分大小写的比较,提升性能和准确性。 wood chen 2025-03-23 22:16:34 +08:00
  • fe84b2c9c9 更新index.html,优化页面元信息和样式,增加字体支持,提升用户体验 wood chen 2025-03-22 14:00:58 +08:00
  • cb0b494085 优化日志记录,注释掉价格更新和创建相关的日志输出,以减少冗余信息并提高代码可读性。 wood chen 2025-03-22 11:16:56 +08:00
  • 420e65251f 新增SiliconFlow价格更新任务,定时每24小时执行,并在初始化时立即执行一次。优化了定时任务的注册和执行逻辑,确保价格更新的及时性和准确性。 wood chen 2025-03-22 10:53:39 +08:00
  • 4b5e6079f5 在黑名单中新增模型"gemma-7b-it",增强对模型名称的管理和过滤机制。 wood chen 2025-03-22 10:00:57 +08:00
  • db16194062 移除价格倍率结构中的 ModelType 字段 wood chen 2025-03-22 09:44:46 +08:00
  • b11cf228e3 调整定时任务执行时间,优化价格更新逻辑 wood chen 2025-03-22 09:40:04 +08:00
  • 9c4684b0e2 优化模型数据处理逻辑,移除对特殊标记模型的跳过检查 wood chen 2025-03-18 10:11:10 +08:00
  • ca3d4a73ee 新增批量删除价格功能 wood chen 2025-03-18 04:00:02 +08:00
  • 5384e515ac 优化价格审核状态更新逻辑 wood chen 2025-03-18 03:47:22 +08:00
  • b55c521403 新增状态筛选功能,优化价格列表展示 wood chen 2025-03-18 03:36:57 +08:00
  • 611938ec2d 优化模型数据处理逻辑,增强黑名单检查机制 wood chen 2025-03-18 03:20:51 +08:00
  • eb9e069f76 优化价格更新逻辑,增加模型处理的唯一性检查 wood chen 2025-03-18 03:01:10 +08:00
  • 35a4936ff8 删除"":extended"的数据 wood chen 2025-03-18 02:47:31 +08:00
  • aef8eae972 取消更新千问价格, 国内和国外不一样 wood chen 2025-03-18 02:38:43 +08:00
  • 92889df8b0 优化模型数据处理逻辑,增加模型数据分类和选择机制 wood chen 2025-03-18 02:33:21 +08:00
  • 75d62d978a 优化价格处理逻辑,整合价格创建和更新功能 wood chen 2025-03-18 02:18:57 +08:00
  • dce4815654 新增定时任务功能和前端免责声明 wood chen 2025-03-18 01:40:39 +08:00
  • 2b2cc35a1c 添加价格列表搜索功能 wood chen 2025-03-12 16:46:59 +08:00
  • 680d684016 重构价格倍率处理逻辑,提取独立模块 wood chen 2025-03-12 16:35:15 +08:00
  • e037eaafef 修复价格管理中的 channel_type 类型转换问题 wood chen 2025-03-12 15:50:00 +08:00
  • 37ded8ffae 调整数据库日志级别,减少不必要的日志输出 wood chen 2025-03-07 00:34:10 +08:00
  • 9f51ac602e 实现内存缓存机制,优化数据库查询性能 wood chen 2025-03-07 00:28:36 +08:00
  • 449f95d1b5 重构价格管理模块,完全迁移到 GORM ORM wood chen 2025-03-06 23:46:18 +08:00
  • 31f65a9301 优化用户模型 Email 字段长度限制 wood chen 2025-03-06 23:37:14 +08:00
  • aeb05f790a 重构数据库层并迁移到 GORM wood chen 2025-03-06 23:32:18 +08:00
  • 0bdadcfef7 新增模型类型管理功能 wood chen 2025-03-06 23:16:18 +08:00
  • da79bf3d6d 新增批量审核价格功能并优化前端交互 wood chen 2025-03-06 22:43:30 +08:00
  • e7e93dc2ad 优化OAuth认证处理逻辑并增加调试日志 wood chen 2025-03-03 23:33:15 +08:00
  • af82111ae3 修复用户信息结构体中的头像字段名称并更新角色判断逻辑 wood chen 2025-03-03 23:17:47 +08:00
  • 4cc3387e97 Remove development-mode test login functionality wood chen 2025-02-23 04:55:56 +08:00
  • cc55be5ac8 Enhance Prices view with robust NULL value handling and minor onMounted optimization wood chen 2025-02-23 04:54:43 +08:00
  • b0d0bee061 test wood chen 2025-02-23 04:23:57 +08:00
  • 315933d57a Refactor model type handling and add SQLite support wood chen 2025-02-23 04:23:42 +08:00
  • 9cd5674876 删除多余 wood chen 2025-02-23 04:09:01 +08:00
  • 330963418e Remove SQLite migration and related code wood chen 2025-02-23 04:03:20 +08:00
  • c9a9e7b845 Update Price model and migration to use unsigned integer for channel_type wood chen 2025-02-23 03:42:38 +08:00
  • a2932ecf6b Migrate from SQLite to MySQL: Update database configuration and schema wood chen 2025-02-23 03:37:10 +08:00
  • 8d198e45af 恢复 wood chen 2025-02-23 03:17:34 +08:00
  • 09edd1f271 修复: 提交模型表单类型 wood chen 2025-02-22 02:10:04 +08:00
  • 7d036959e2 修复: 前端提交模型厂商ID信息, 改为数字类型, 与后端匹配 wood chen 2025-02-22 01:47:17 +08:00
  • 67639f94ed Refactor Prices view action buttons with improved UX and icon-based interactions wood chen 2025-02-21 12:29:11 +08:00
  • 2efb33fc2f Enhance provider management and price filtering with model type and ID handling wood chen 2025-02-21 12:07:56 +08:00
  • 15a7c75145 Add getModelType function to support model type display in Prices view wood chen 2025-02-21 11:58:04 +08:00
  • 6fa37f6d6a Add model type support for pricing management wood chen 2025-02-21 11:51:53 +08:00
  • d4aebb8148 更新 OAuth 相关 URL 以使用新域名,并修改前端链接 wood chen 2025-02-14 23:59:28 +08:00
  • 40feab37f6 Improve Prices view dialog layout and responsiveness wood chen 2025-02-09 19:34:53 +08:00
  • 50d63f47c7 Add channel type filtering to Prices view and backend API wood chen 2025-02-09 19:24:10 +08:00
  • e852b885c0 Implement pagination and loading states for Prices and Providers views wood chen 2025-02-09 18:56:56 +08:00
  • b5faf07c6c Adjust Prices view table column width wood chen 2025-02-08 21:51:35 +08:00
  • c1e63cea5b Refactor Prices view import and table display logic wood chen 2025-02-08 21:43:59 +08:00
  • 6d114d57a6 Update footer and home page with Q58 community link wood chen 2025-02-08 21:36:17 +08:00
  • e31e35c0b5 Update Vite proxy to use local development server wood chen 2025-02-08 21:30:48 +08:00
  • 7b884cd3ee Enhance Prices view with admin batch actions and UI improvements wood chen 2025-02-08 21:30:28 +08:00
  • 1d16333e11 Replace "supplier" terminology with "model vendor" across frontend and backend wood chen 2025-02-08 21:03:01 +08:00
  • 7873fab16f Add batch price submission and improve UI for price list view wood chen 2025-02-08 20:54:51 +08:00
  • e7967dfeff Modify login flow to support dynamic OAuth 2.0 authorization URL wood chen 2025-02-08 20:21:39 +08:00
  • bd8656542b Migrate authentication from Discourse SSO to OAuth 2.0 authentication flow wood chen 2025-02-08 20:07:42 +08:00
  • 8a2aec1ca3 Update authentication cookie settings for domain-specific SSO and redirect wood chen 2025-02-08 19:09:17 +08:00
  • d1f3b5b989 Fix SSO callback URL to use hardcoded HTTPS domain wood chen 2025-02-08 18:53:11 +08:00
  • 5c9bb1b2a2 Add multi-arch support and optimize Nginx configuration for improved performance and compatibility wood chen 2025-02-08 18:47:21 +08:00
  • 4c48a50aca Simplify Dockerfile to single-stage build and optimize deployment configuration wood chen 2025-02-08 18:42:08 +08:00
  • afe0d5fc11 Optimize Dockerfile and deployment workflow with multi-stage build and server auto-deployment wood chen 2025-02-08 18:35:55 +08:00
  • 85f21a3105 Simplify Dockerfile and GitHub Actions workflow for single-stage Docker build wood chen 2025-02-08 17:36:33 +08:00
  • 7487aaadda Remove Deno-specific configuration files and migrate to Cloudflare Workers environment wood chen 2025-02-08 17:32:58 +08:00
  • 0012d45205 Enhance price review and table rendering with improved data handling and error management wood chen 2025-02-08 02:29:14 +08:00
  • 1e2cbbbcdf Update price table body element ID and simplify price loading function wood chen 2025-02-08 02:25:31 +08:00
  • 974b5d581f Refactor price loading and initialization with async/await and improved error handling wood chen 2025-02-08 02:23:59 +08:00
  • 97e5605991 Enhance CORS and fetch configuration with more secure and flexible settings wood chen 2025-02-08 02:21:49 +08:00
  • fa9ac6789d Improve price table rendering with robust error handling and logging wood chen 2025-02-08 02:19:25 +08:00
  • fe48d1af9e Refactor frontend and backend price data loading with improved error handling and logging wood chen 2025-02-08 02:16:44 +08:00
  • d66cd06938 Add API URL display and copy functionality to frontend wood chen 2025-02-08 02:14:11 +08:00