@@ -64,10 +64,11 @@ func (me *VodService) DescribeAdaptiveDynamicStreamingTemplatesByFilter(ctx cont
64
64
return
65
65
}
66
66
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 ) {
68
68
var (
69
69
filter = map [string ]interface {}{
70
70
"definitions" : []string {templateId },
71
+ "sub_appid" : subAppId ,
71
72
}
72
73
)
73
74
@@ -160,10 +161,11 @@ func (me *VodService) DescribeProcedureTemplatesByFilter(ctx context.Context, fi
160
161
return
161
162
}
162
163
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 ) {
164
165
var (
165
166
filter = map [string ]interface {}{
166
167
"name" : []string {templateId },
168
+ "sub_appid" : subAppId ,
167
169
}
168
170
)
169
171
@@ -256,10 +258,11 @@ func (me *VodService) DescribeSnapshotByTimeOffsetTemplatesByFilter(ctx context.
256
258
return
257
259
}
258
260
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 ) {
260
262
var (
261
263
filter = map [string ]interface {}{
262
264
"definitions" : []string {templateId },
265
+ "sub_appid" : subAppId ,
263
266
}
264
267
)
265
268
@@ -353,10 +356,11 @@ func (me *VodService) DescribeImageSpriteTemplatesByFilter(ctx context.Context,
353
356
return
354
357
}
355
358
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 ) {
357
360
var (
358
361
filter = map [string ]interface {}{
359
362
"definitions" : []string {templateId },
363
+ "sub_appid" : subAppId ,
360
364
}
361
365
)
362
366
0 commit comments