1
This commit is contained in:
@@ -80,7 +80,7 @@ const AdminSettings: React.FC = () => {
|
|||||||
await updateSystemConfig(existing.id, String(holdVal));
|
await updateSystemConfig(existing.id, String(holdVal));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
await createSystemConfig('optimize_hold_credits', String(holdVal), 'AI创作预扣积分数量(防止并发超卖)');
|
await createSystemConfig('optimize_hold_credits', String(holdVal), '提示词理解预扣积分数量(防止并发超卖)');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await saveGlobalResourceCapacity({
|
await saveGlobalResourceCapacity({
|
||||||
@@ -403,7 +403,7 @@ const AdminSettings: React.FC = () => {
|
|||||||
{/* AI创作预扣积分 - 固定显示 */}
|
{/* AI创作预扣积分 - 固定显示 */}
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name="optimize_hold_credits"
|
name="optimize_hold_credits"
|
||||||
label={<span style={{ fontWeight: 500 }}>AI创作预扣积分数量</span>}
|
label={<span style={{ fontWeight: 500 }}>提示词理解预扣积分数量</span>}
|
||||||
extra="AI创作时预扣积分数量,用于防止并发超卖。预扣后按实际消耗多退少补"
|
extra="AI创作时预扣积分数量,用于防止并发超卖。预扣后按实际消耗多退少补"
|
||||||
>
|
>
|
||||||
<Input type="number" min={1} placeholder="默认5" size="large" />
|
<Input type="number" min={1} placeholder="默认5" size="large" />
|
||||||
|
|||||||
Reference in New Issue
Block a user