feat: sync deployed v1.0.0-rc.38-custom.67
This commit is contained in:
1 parent
d09216bbde
commit
8e6ed0317b
154 files changed
+39540
-20509
No files matched your search
@@ -369,6 +369,11 @@ func RecalculateTaskQuotaByTokens(ctx context.Context, task *model.Task, totalTo
|
||||
finalGroupRatio = groupRatio
|
||||
}
|
||||
|
||||
// The submitted task retains its actual group price, including a zero override.
|
||||
if snapshot := task.PrivateData.BillingContext; snapshot != nil {
|
||||
finalGroupRatio = snapshot.GroupRatio
|
||||
}
|
||||
|
||||
// 计算 OtherRatios 乘积(视频折扣、时长等)
|
||||
otherMultiplier := 1.0
|
||||
if priceData := taskBillingContextPriceData(task.PrivateData.BillingContext); priceData != nil {
|
||||
|
||||
Reference in new issue
Block a user