@@ -64,10 +64,11 @@ func (me *VodService) DescribeAdaptiveDynamicStreamingTemplatesByFilter(ctx cont
6464 return
6565}
6666
67- func (me * VodService ) DescribeAdaptiveDynamicStreamingTemplatesById (ctx context.Context , templateId string ) (templateInfo * vod.AdaptiveDynamicStreamingTemplate , has bool , errRet error ) {
67+ func (me * VodService ) DescribeAdaptiveDynamicStreamingTemplatesById (ctx context.Context , templateId string , subAppId int ) (templateInfo * vod.AdaptiveDynamicStreamingTemplate , has bool , errRet error ) {
6868 var (
6969 filter = map [string ]interface {}{
7070 "definitions" : []string {templateId },
71+ "sub_appid" : subAppId ,
7172 }
7273 )
7374
@@ -160,10 +161,11 @@ func (me *VodService) DescribeProcedureTemplatesByFilter(ctx context.Context, fi
160161 return
161162}
162163
163- func (me * VodService ) DescribeProcedureTemplatesById (ctx context.Context , templateId string ) (templateInfo * vod.ProcedureTemplate , has bool , errRet error ) {
164+ func (me * VodService ) DescribeProcedureTemplatesById (ctx context.Context , templateId string , subAppId int ) (templateInfo * vod.ProcedureTemplate , has bool , errRet error ) {
164165 var (
165166 filter = map [string ]interface {}{
166167 "name" : []string {templateId },
168+ "sub_appid" : subAppId ,
167169 }
168170 )
169171
@@ -256,10 +258,11 @@ func (me *VodService) DescribeSnapshotByTimeOffsetTemplatesByFilter(ctx context.
256258 return
257259}
258260
259- func (me * VodService ) DescribeSnapshotByTimeOffsetTemplatesById (ctx context.Context , templateId string ) (templateInfo * vod.SnapshotByTimeOffsetTemplate , has bool , errRet error ) {
261+ func (me * VodService ) DescribeSnapshotByTimeOffsetTemplatesById (ctx context.Context , templateId string , subAppId int ) (templateInfo * vod.SnapshotByTimeOffsetTemplate , has bool , errRet error ) {
260262 var (
261263 filter = map [string ]interface {}{
262264 "definitions" : []string {templateId },
265+ "sub_appid" : subAppId ,
263266 }
264267 )
265268
@@ -353,10 +356,11 @@ func (me *VodService) DescribeImageSpriteTemplatesByFilter(ctx context.Context,
353356 return
354357}
355358
356- func (me * VodService ) DescribeImageSpriteTemplatesById (ctx context.Context , templateId string ) (templateInfo * vod.ImageSpriteTemplate , has bool , errRet error ) {
359+ func (me * VodService ) DescribeImageSpriteTemplatesById (ctx context.Context , templateId string , subAppId int ) (templateInfo * vod.ImageSpriteTemplate , has bool , errRet error ) {
357360 var (
358361 filter = map [string ]interface {}{
359362 "definitions" : []string {templateId },
363+ "sub_appid" : subAppId ,
360364 }
361365 )
362366
0 commit comments