Files
Sub-Router/dist/index.html
T
abingyydsandClaude Opus 4.6 23920eb635 fix: 自定义价格真正参与计费 + 修复价格显示翻倍
1. 计费核心改动 (relay/helper/price.go):
   - applyDistributorMarkup 新增自定义价格支持
   - 自定义价格转 USD 后与平台底价对比,计算等效加价倍率
   - 保底机制:自定义价格不得低于平台底价,防止平台亏损
   - 优先级:全站加价 > 自定义价格 > 单模型加价比例

2. 分站价格显示修复 (controller/dist_site.go):
   - 自定义价格跟随商家币种(CNY),发送前需转 USD
   - 修复 ¥6.8 显示为 ¥46.24 的翻倍问题

3. 管理页面改进 (DistributorModels.jsx):
   - 全站加价模式下展示含加价的价格
   - 自定义价格输入框显示正确的币种单位

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 17:53:22 +09:00

17 lines
796 B
HTML

<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />
<title>AI Platform</title>
<script type="module" crossorigin src="/assets/index-DZXnuqaY.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Ca2ECE9h.css">
</head>
<body class="bg-black text-white antialiased">
<div id="root"></div>
</body>
</html>