功能增加
This commit is contained in:
1 parent
b340fc7ad7
commit
f1993eb388
69 files changed
+2243
-162
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user