Commit 53cf37a4 by Calcium-Ion Committed by GitHub

fix(ali): accept string usage values in task polling (#4155)

parents 3bda738e 274307b0
...@@ -80,9 +80,9 @@ type AliVideoOutput struct { ...@@ -80,9 +80,9 @@ type AliVideoOutput struct {
// AliUsage 使用统计 // AliUsage 使用统计
type AliUsage struct { type AliUsage struct {
Duration int `json:"duration,omitempty"` Duration dto.IntValue `json:"duration,omitempty"`
VideoCount int `json:"video_count,omitempty"` VideoCount dto.IntValue `json:"video_count,omitempty"`
SR int `json:"SR,omitempty"` SR dto.IntValue `json:"SR,omitempty"`
} }
type AliMetadata struct { type AliMetadata struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment