Commit Graph

  • 2d9a1814ce Initial commit: full project from production server master xiezhouwei 2026-07-28 10:29:57 +0800
  • c5884ac633 首页联系我们:卡片添加点击跳转,邮箱打开邮件客户端,在线客服跳转官网 deploy dev wangxiaoji 2026-07-28 10:17:17 +0800
  • e93de2b103 首页新增联系我们模块:邮箱联系、在线客服、商务合作 wangxiaoji 2026-07-28 09:57:30 +0800
  • 2bbdae1bf5 首页定价预览改为实际模型:DeepSeek-V4/Flash + MiniMax-M2.1/M2.5 wangxiaoji 2026-07-28 09:46:38 +0800
  • c2b00265e3 固定蓝色主题:移除暗黑模式切换、隐藏多语言选择器、默认亮色主题 wangxiaoji 2026-07-28 09:33:21 +0800
  • 5a68d88fa9 定价页重构:SiliconFlow风格卡片布局 + 炫酷动画效果 wangxiaoji 2026-07-28 09:29:57 +0800
  • 8df9865ff5 隐藏多语言切换功能并固定默认语言为简体中文 wangxiaoji 2026-07-16 17:34:35 +0800
  • 6836012ab4 修复 react-icons 5.7.0 中 SiSlack 被移除导致的编译错误 wangxiaoji 2026-07-02 14:41:00 +0800
  • c8d76437cb 移除全局搜索和模型对比功能 wangxiaoji 2026-07-01 16:30:53 +0800
  • 04c4e17dcc 新增全局搜索、新用户引导、模型对比工具 - 顶部搜索框:/ 键唤起,搜索模型名称/描述/标签,点击跳转到定价页 - 新用户引导:首次登录弹出三步向导(获取 Key → 选择模型 → 首次调用) - 模型对比:并排对比最多4个模型的价格、支持功能、标签等属性 wangxiaoji 2026-07-01 16:24:26 +0800
  • 42070a5300 RPM/TPM 卡片样式统一:移除蓝色字体与 monospace,与其他统计卡片保持一致 wangxiaoji 2026-07-01 16:07:24 +0800
  • 01900f1a3a 操作日志中文化与功能优化 - 后端操作描述统一使用中文冒号(:)替换英文冒号(:) - 前端资源名称列 ID 显示改为中文冒号 - 清理日志改为弹窗内独立日期选择器,不再依赖筛选条件 - 侧边栏操作记录移至渠道管理上方 - RPM/TPM 卡片标签改为中文显示 wangxiaoji 2026-07-01 16:03:03 +0800
  • 006e723ac5 新增功能:用量可视化、操作日志页面优化、CSV导出 - RechargeCard 增加额度使用进度条与实时 RPM/TPM 展示(5列网格布局) - 统一操作日志页面布局风格,与其他控制台页面一致 - 充值账单与使用日志均支持 CSV 导出 - 新增 helpers/export.js 导出工具函数 wangxiaoji 2026-07-01 15:43:41 +0800
  • 6a210b9667 统一控制台页面布局:替换 mt-[60px] px-2 为统一 min-h-full pb-16 pt-20 + max-w-[1400px] 居中容器 wangxiaoji 2026-07-01 15:18:35 +0800
  • 001ed4c17f 缩小API测速页面字体,与Dashboard风格统一 wangxiaoji 2026-07-01 14:22:21 +0800
  • ac1120fc33 重构充值页面和统一控制台页面风格 wangxiaoji 2026-07-01 14:13:15 +0800
  • 44356571a6 修复 Token 显示为 0:API 返回 prompt_tokens+completion_tokens,非 token_used wangxiaoji 2026-06-30 14:50:49 +0800
  • 65c28251f9 时间范围联动数据:Dashboard 管理 rangeKey 状态,useDashboardData 按天数生成 dailyStats wangxiaoji 2026-06-30 14:35:03 +0800
  • d2913ff260 Token 使用趋势全面升级:悬停提示 + 模型明细 + 视觉优化 wangxiaoji 2026-06-30 14:24:25 +0800
  • 8a9e0226d0 修复柱状图不显示:w-full 导致 flex 溢出,改为 flex-1 均分空间 wangxiaoji 2026-06-30 11:52:29 +0800
  • 31f4d247fe 修复柱状图与日期标签对齐:flex 布局统一使用 justify-between,移除峰值加粗 wangxiaoji 2026-06-30 11:33:35 +0800
  • 66e61ef51b Token 使用趋势折线图替换为柱状图 wangxiaoji 2026-06-30 11:21:10 +0800
  • 1ff561c32c 时间范围改为下拉菜单:预设选项 + 自定义日期范围 + 应用按钮 wangxiaoji 2026-06-30 11:14:25 +0800
  • 6b73f5b6b9 Token 使用趋势添加时间范围控制栏:粒度选择器与刷新按钮 wangxiaoji 2026-06-30 11:04:27 +0800
  • dd5474f500 修复 Token 使用趋势日期标签与迷你图对齐:日期均匀分布匹配数据点 wangxiaoji 2026-06-30 10:19:33 +0800
  • 715487fda7 Token 使用趋势日期标签可读性优化:非峰值日期颜色从浅灰改为中灰,确保可见 wangxiaoji 2026-06-30 10:04:32 +0800
  • 847c2bd9d3 Token 使用趋势 X 轴标签从星期改为具体日期(月/日 格式) wangxiaoji 2026-06-30 09:59:15 +0800
  • 6a99f229e3 修复控制台最近调用显示失败的问题:isSuccess 将 LogTypeConsume(2) 和 LogTypeTopup(1) 也识别为成功 wangxiaoji 2026-06-30 09:30:34 +0800
  • b14a09af73 解决合并冲突:保留 getSystemName() 动态读取品牌名,统一为 TuringToken wangxiaoji 2026-06-29 17:22:17 +0800
  • 8e8f19fc10 将控制台页面和首页底部的 TokenFactory 改为从 getSystemName() 动态读取,统一品牌名称为 TuringToken wangxiaoji 2026-06-29 17:21:31 +0800
  • 5c8a66a82b ui: 控制台页面品牌名 TokenFactory → Turing Token wangxiaoji 2026-06-29 16:59:29 +0800
  • dd1b881cf1 重新设计登录页面:采用分栏布局,左侧品牌展示区(深色背景+Logo+标语+色彩装饰),右侧登录表单区 wangxiaoji 2026-06-29 17:05:08 +0800
  • dc1ba114e5 修改:默认 logo 路径改为 /logo.jpg wangxiaoji 2026-06-29 16:53:30 +0800
  • af2abaee09 修改:系统名称改为 TuringToken wangxiaoji 2026-06-29 16:43:53 +0800
  • f32c114f1a 修复:添加缺失的 logo.png 文件 wangxiaoji 2026-06-29 15:43:33 +0800
  • 8ed621ed76 修复:补全缺失的前端文件并取消忽略 vite.config.js wangxiaoji 2026-06-29 15:19:28 +0800
  • 3fd1881e81 build: 批量降级 gin-contrib 依赖以兼容 Go 1.23 wangxiaoji 2026-06-29 12:19:46 +0800
  • 18e915e373 build: 调整依赖版本以兼容 Go 1.23 wangxiaoji 2026-06-29 12:08:54 +0800
  • 3fb6326f4a feat: 重构控制台 Dashboard + 新增 API 快速测试页 wangxiaoji 2026-06-26 16:16:30 +0800
  • 1e3ce2c0d2 feat: remove channel ID and username search fields from usage log filters xiezhouwei 2026-06-23 14:11:36 +0800
  • b6293434e9 feat: hide channel, user, and retry columns in usage log table by default\n\n- Set CHANNEL/USERNAME/RETRY default visibility to false for all users\n- Remove admin-only override logic (no longer differentiate by role)\n- Exclude these 3 columns from 'Select All' operation xiezhouwei 2026-06-23 14:06:26 +0800
  • a9d2fc2abe fix: billing total display now consistently uses 2 decimals, floor 0.01 for tiny positive amounts\n\n- Previous 6-decimal fallback caused visual inconsistency with list (shows 0.01)\n- Now: raw>0 and toFixed(2)>0 -> normal 2-decimal display\n- Now: raw>0 but toFixed(2)==0 -> floor to 0.01 (minimum visible unit)\n- Matches list column display format, no more '= 0.000125' in detail xiezhouwei 2026-06-23 11:49:21 +0800
  • 4d5dd30668 fix: prevent billing process total from rounding to 0 for very small amounts (e.g. low-ratio channel-only models) xiezhouwei 2026-06-23 11:39:18 +0800
  • 789f3b43e4 fix: prevent float-to-int truncation turning small billing amounts (e.g. 0.01) into 0 in use-price paths\n\n- service/quota.go: replace IntPart() with Round(0).IntPart() + safety net\n- relay/helper/price.go: replace int(float64) with int(math.Round()) + safety net\n- controller/channel-test.go: same fix for test billing calculation\n- All use-price paths now round instead of truncate, and guarantee minimum 1 quota when effective pricing > 0 xiezhouwei 2026-06-23 11:26:00 +0800
  • 648c9917ab fix: hide cache prices on model card, show only input and output prices xiezhouwei 2026-06-23 11:15:24 +0800
  • a93c04ce28 fix: show all configured channel prices (output/cache/createCache) on model card surface, not just input xiezhouwei 2026-06-23 11:09:12 +0800
  • d676e2200f fix: show output/cache/create_cache prices when channel-level pricing provides the ratio, not only when global pricing has it xiezhouwei 2026-06-23 11:00:44 +0800
  • 4a7cb9e0f0 feat: extend ModelHasConfiguredPricing to include channel-level pricing (ChannelModelRatio/ChannelModelPrice) via prebuilt index set xiezhouwei 2026-06-23 10:51:46 +0800
  • a7759c5767 refine: show only avatar circle on homepage hero when logged in, remove username text xiezhouwei 2026-06-22 11:58:07 +0800
  • c44cebeb18 fix: apply admin theme/language toggle to homepage hero section as well xiezhouwei 2026-06-22 11:53:12 +0800
  • 09d6a7305e feat: add admin-controlled toggles for header theme/language display in system settings xiezhouwei 2026-06-22 11:46:31 +0800
  • 3e79e956f0 Revert "fix: restrict theme toggle and language selector to console routes only, hide on public pages" xiezhouwei 2026-06-22 11:41:24 +0800
  • ff522958de fix: restrict theme toggle and language selector to console routes only, hide on public pages xiezhouwei 2026-06-22 11:35:22 +0800
  • 7d30717cd1 fix: unify homepage hero button styles - rounded login button, console-style user avatar with dynamic color xiezhouwei 2026-06-22 11:27:28 +0800
  • 4f85cad331 fix: show user info on homepage hero when logged in instead of always showing login button xiezhouwei 2026-06-22 10:59:30 +0800
  • 0ab319143b feat: restructure docs page to left-center-right 3-column layout with page TOC sidebar xiezhouwei 2026-06-22 10:08:09 +0800
  • e028f6f93a fix: adjust docs page scroll offset to prevent fixed header occlusion xiezhouwei 2026-06-22 09:56:23 +0800
  • 76ac1a1b31 fix: clear default external docs_link, add migration to use in-app /docs page xiezhouwei 2026-06-22 09:51:45 +0800
  • 64a4a68a6f feat: add in-app docs page with sidebar navigation and quickstart guide, replace /docs redirect with built-in page xiezhouwei 2026-06-22 09:30:31 +0800
  • dfa7ccbd97 Revert "fix: remove '文档' nav link from homepage hero section" xiezhouwei 2026-06-22 09:23:57 +0800
  • 4429de2448 fix: remove '文档' nav link from homepage hero section xiezhouwei 2026-06-22 09:21:09 +0800
  • 6a880c08ba fix: add /docs redirect middleware to forward docs paths to configured docs_link xiezhouwei 2026-06-22 09:16:31 +0800
  • 9f47782442 fix: homepage '文档' nav link now uses dynamic same-origin docs URL instead of hardcoded docs.new-api.cc xiezhouwei 2026-06-22 09:09:02 +0800
  • 59cc502e6e fix: homepage '开始使用' button now links to API Key (/console/token) instead of register xiezhouwei 2026-06-21 19:00:13 +0800
  • f2da0cdb24 fix: vendor icons missing .Color suffix (8 entries) + add Ollama entry xiezhouwei 2026-06-21 18:50:38 +0800
  • 86bb4ee0cf rename: 体验馆 → 体验 (menu, settings, i18n across 11 locales) xiezhouwei 2026-06-21 18:26:24 +0800
  • eb045c9a46 fix: add Chinese vendor name keywords for doubao/seedance in model_meta_infer vendorKeywordAliases xiezhouwei 2026-06-21 17:26:30 +0800
  • 4a5fa8aa3b debug: add diagnostic logging to getOrCreateVendor and initDefaultVendorMapping for seedance/minimax xiezhouwei 2026-06-21 17:26:14 +0800
  • 20de5cb147 fix: add minimax keyword to defaultVendorRules so MiniMax-M1/M3/T1 series get vendor assignment xiezhouwei 2026-06-21 16:59:20 +0800
  • 07a6e29c1e fix: allow vendor_id=0 to be passed as model_type in experience button jump xiezhouwei 2026-06-21 16:47:42 +0800
  • 4f8cde37d8 refactor: replace api.tokendance.space with api.turingtoken.ai on homepage xiezhouwei 2026-06-21 16:40:24 +0800
  • 6eec903060 refactor: remove about link and GitHub display from homepage DarkFooter xiezhouwei 2026-06-21 16:37:23 +0800
  • 0d798c2fbc fix: convert model_type URL param to number so Select matches optionList value type xiezhouwei 2026-06-19 10:37:41 +0800
  • 2165430d87 feat: pass model_type (vendor_id) from model detail to playground settings panel xiezhouwei 2026-06-19 10:30:32 +0800
  • 977e9e8bf5 feat: add experience button in model detail side sheet to jump to playground with model preset xiezhouwei 2026-06-19 10:17:00 +0800
  • 189f314734 fix: add DeepSeek-V3.2 default model ratio so it appears in pricing list xiezhouwei 2026-06-18 21:13:15 +0800
  • 4e8d2b8057 fix: strip spaces in FormatMatchingModelName to match model name variants like Seedance 2.0 xiezhouwei 2026-06-18 20:48:07 +0800
  • 06aa707141 fix: add seedance vendor rule and improve vendor_id auto-mapping for existing records xiezhouwei 2026-06-18 18:07:47 +0800
  • 46819578de fix: model page tab filter not working and sidebar tag order xiezhouwei 2026-06-18 17:01:50 +0800
  • 77b885b190 refactor: streamline model card to show only logo, name, description, and IO prices xiezhouwei 2026-06-18 16:50:02 +0800
  • 4fbdafee1c fix: remove supplier filter from model page sidebar xiezhouwei 2026-06-18 16:36:52 +0800
  • 825954e43f fix: 模型页面右侧列表被固定导航栏遮挡\n\n根因:PageLayout.jsx 第 325 行 <Header> 为 position: fixed; top: 0\n(h-14, 56px),在 /pricing 路径下也显示。但 models-page-layout\n使用 height: calc(100vh - 60px) 而非 padding-top 偏移,导致\n布局从视口顶部(y=0)开始,内容被固定头部遮盖。\n\n修改:\n- models-page-layout: padding: 56px 24px 0 + height: 100vh +\n box-sizing: border-box,使内容从固定头部下方开始\n- models-sidebar: 移除顶部 padding(padding: 0 16px 24px 0),\n 避免与外层 padding-top 叠加 xiezhouwei 2026-06-17 16:28:04 +0800
  • 61b0d902b6 refactor: 模型页面布局调整为左右结构(类 tokendance.models) xiezhouwei 2026-06-17 14:33:53 +0800
  • 5fa5f87e1e fix: 补全主页独立导航栏顺序 - 模型→评测→文档→控制台 xiezhouwei 2026-06-17 14:08:02 +0800
  • d33f55ad55 fix: 补全移动端导航栏顺序同步 - 模型→评测→文档→控制台 xiezhouwei 2026-06-17 14:04:33 +0800
  • 3cb9c85ea8 feat: 调整首页导航栏顺序为 模型→评测→文档→控制台 xiezhouwei 2026-06-17 14:00:16 +0800
  • 5b5d7a95f3 fix: 评测页面顶部被固定导航栏遮挡 - 添加 pt-14 偏移\n\n根因:PageLayout.jsx 中 <Header> 使用 position: fixed; top: 0(h-14, 56px),但\n非 /console 路径的 <Content> padding 为 0,评测页面顶部内容被固定头部遮盖。\n\n修改:在外容器和 loading 容器添加 pt-14,精确匹配头部高度。 xiezhouwei 2026-06-17 11:47:48 +0800
  • d455641b86 fix: 评测页面浅色模式样式异常 - 切换为 shadcn/ui 主题变量系统 xiezhouwei 2026-06-17 11:39:59 +0800
  • e29f61aa68 fix: 评测页面 401 拦截器导致未登录用户被重定向到登录页 xiezhouwei 2026-06-17 11:25:47 +0800
  • 281c0de751 feat: 评测基准页面支持离线默认数据 + 路由公开访问 xiezhouwei 2026-06-17 10:59:09 +0800
  • e00999b88c fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 xiezhouwei 2026-06-17 10:23:39 +0800
  • 1474917163 chore: remove student tabs, actions and related code from user management xiezhouwei 2026-06-11 17:04:15 +0800
  • 9bb3b9dda9 fix: properly remove student section without breaking tag balance xiezhouwei 2026-06-11 14:25:40 +0800
  • 9dca57d501 chore: remove student application feature from frontend xiezhouwei 2026-06-11 14:22:11 +0800
  • 53898ad22b chore: remove $ symbol from wallet management page xiezhouwei 2026-06-11 11:58:41 +0800
  • d7fdbb4e18 feat: add supplierApply permission toggle for providing compute button xiezhouwei 2026-06-11 11:37:48 +0800
  • 82016579db fix(payment): resolve payment settings save logic and enable persistence xiezhouwei 2026-06-09 14:35:37 +0800
  • 6fc114ec32 feat: add Alipay and WeChat Pay payment gateway support xiezhouwei 2026-06-08 09:01:33 +0800
  • b63f75ade4 feat: add captcha verification for login form xiezhouwei 2026-06-05 13:57:13 +0800
  • aa1c9559c3 feat: 操作日志功能实现及字段级diff优化 xiezhouwei 2026-06-04 15:16:42 +0800