功能增加

This commit is contained in:
andy committed 2026-09-11 15:33:18 +08:00
1 parent b340fc7ad7
commit f1993eb388
69 files changed
+2243 -162

No files matched your search

+5
View File
@@ -109,6 +109,11 @@ func (s *Service) Quote(ctx context.Context, command QuoteCommand) (*Quote, erro
quote.Parameters["inputReferencePriceFen"] = float64(max(0, referenceImageCount-1) * 2)
return quote, nil
}
if command.Provider == "minimax" && IsMinimaxH3BillingModel(command.ReqKey) {
quote.ReservedAmountFen = quote.AmountFen
quote.SettlementStatus = "pending"
return quote, nil
}
if command.Provider != "seedance" || !IsSeedanceBillingModel(command.ReqKey) {
return quote, nil
}