mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-04 00:42:14 +00:00
功能:支持渠道模型分时倍率定价
This commit is contained in:
1 parent
e330c243a8
commit
9f24a55305
40 files changed
+2297
-131
No files matched your search
@@ -21,6 +21,17 @@ export interface PricingInterval {
|
||||
sort_order: number
|
||||
}
|
||||
|
||||
export interface ChannelTimePricingPeriod {
|
||||
start_time: string
|
||||
end_time: string
|
||||
multiplier: number
|
||||
}
|
||||
|
||||
export interface ChannelTimePricing {
|
||||
timezone: string
|
||||
periods: ChannelTimePricingPeriod[]
|
||||
}
|
||||
|
||||
export interface ChannelModelPricing {
|
||||
id?: number
|
||||
platform: string
|
||||
@@ -34,6 +45,7 @@ export interface ChannelModelPricing {
|
||||
image_output_price: number | null
|
||||
per_request_price: number | null
|
||||
intervals: PricingInterval[]
|
||||
time_pricing: ChannelTimePricing | null
|
||||
}
|
||||
|
||||
export interface AccountStatsPricingRule {
|
||||
|
||||
Reference in new issue
Block a user