This commit is contained in:
2026-07-01 20:28:34 +08:00
parent 5441fbc8b9
commit 1f812908a7
@@ -258,7 +258,7 @@ const AdminCreditRatios: React.FC = () => {
),
},
{
title: '示例计算', key: 'example', width: 140,
title: '示例计算(视频15秒,上传视频15秒)', key: 'example', width: 140,
render: (_: any, r: CreditRatio) => {
let total: number;
if (r.genType === 'image') {
@@ -267,7 +267,7 @@ const AdminCreditRatios: React.FC = () => {
total = Math.round((r.baseCredits + r.perSecondCredits * 15) * r.ratio);
if (r.inputVideoRatio && r.inputVideoPerSecondCredits) {
total += Math.round(
(r.inputVideoBaseCredits + r.inputVideoPerSecondCredits * 10) * r.inputVideoRatio
(r.inputVideoBaseCredits + r.inputVideoPerSecondCredits * 15) * r.inputVideoRatio
);
}
}