From 81d6170a01b6bb50140cd738e7b91e812c2e641e Mon Sep 17 00:00:00 2001 From: wanjiewu Date: Mon, 30 Aug 2021 21:14:52 +0800 Subject: [PATCH] =?UTF-8?q?add:=E6=A0=BC=E5=BC=8F=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci_media.go | 26 +++++++++++++------------- go.sum | 1 + 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/ci_media.go b/ci_media.go index 2a00bab..c7bbd21 100644 --- a/ci_media.go +++ b/ci_media.go @@ -98,24 +98,24 @@ type Watermark struct { Text *Text `xml:"Text,omitempty"` } type ConcatFragment struct { - Url string `xml:"Url,omitempty"` - StartTime string `xml:"StartTime,omitempty"` - EndTime string `xml:"EndTime,omitempty"` + Url string `xml:"Url,omitempty"` + StartTime string `xml:"StartTime,omitempty"` + EndTime string `xml:"EndTime,omitempty"` } type ConcatTemplate struct { ConcatFragment []ConcatFragment `xml:"ConcatFragment,omitempty"` - Audio *Audio `xml:"Audio,omitempty"` - Video *Video `xml:"Video,omitempty"` - Container *Container `xml:"Container,omitempty"` - Index string `xml:"Index,omitempty"` + Audio *Audio `xml:"Audio,omitempty"` + Video *Video `xml:"Video,omitempty"` + Container *Container `xml:"Container,omitempty"` + Index string `xml:"Index,omitempty"` } type MediaProcessJobOperation struct { - Output *JobOutput `xml:"Output,omitempty"` - Transcode *Transcode `xml:"Transcode,omitempty"` - Watermark *Watermark `xml:"Watermark,omitempty"` - TemplateId string `xml:"TemplateId,omitempty"` - WatermarkTemplateId []string `xml:"WatermarkTemplateId,omitempty"` - ConcatTemplate *ConcatTemplate `xml:"ConcatTemplate,omitempty"` + Output *JobOutput `xml:"Output,omitempty"` + Transcode *Transcode `xml:"Transcode,omitempty"` + Watermark *Watermark `xml:"Watermark,omitempty"` + TemplateId string `xml:"TemplateId,omitempty"` + WatermarkTemplateId []string `xml:"WatermarkTemplateId,omitempty"` + ConcatTemplate *ConcatTemplate `xml:"ConcatTemplate,omitempty"` } type CreateMediaJobsOptions struct { diff --git a/go.sum b/go.sum index 9a33a0e..f3229df 100644 --- a/go.sum +++ b/go.sum @@ -2,6 +2,7 @@ github.com/QcloudApi/qcloud_sign_golang v0.0.0-20141224014652-e4130a326409/go.mo github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= +github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/mozillazg/go-httpheader v0.2.1 h1:geV7TrjbL8KXSyvghnFm+NyTux/hxwueTSrwhe88TQQ= github.com/mozillazg/go-httpheader v0.2.1/go.mod h1:jJ8xECTlalr6ValeXYdOF8fFUISeBAdw6E61aqQma60=