DYH云

DYH开放接口


模板编辑

<h5>简要描述</h5> <ul> <li>模板编辑</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://vring.dyhculture.com/forestage/exam/templateEdit</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST</li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">WID</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>作品id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "nick": "admin", "headImg": "", "picLibTypeArr": [ { "imgTypeID": 1, "label": "餐饮" } ], "worksframe": [ { "IID": 632568, "imageName": "1.PSD.png", "imagePath": "template/3C类短视频2/Info/", "layersWidth": 800, "layersHeight": 450, "absolutePath": "Z:/videoRing/public/static/", "replace": "0", "oldBaseSrc": null, "oldPicLibPath": null, "oldFilterPath": null, "copyImgPath": null, "copyImgName": null, "nowFilterID": null, "isFilter": "0", "isCrop": "0", "WFID": 111601, "WID": 19917, "bgiID": 632568, "FrameID": 1, "textNum": 2, "picNum": 0, "vedioNum": 1, "DubNum": 0, "textNumAlready": 0, "picNumAlready": 0, "DubNumAlready": 0, "vedioNumAlready": 0, "UID": 1, "templateID": 450, "title": "3C类短视频2", "state": "0", "worksVidioLink": null, "isCase": "0", "creatTime": "2021-09-23 11:10:42", "worksCover": "1631757595.png", "copy": null, "BGMID": null, "successNotice": "0", "delet": "0", "BGMNum": 1, "VoiceNum": 0, "running_time": 15 }, ... ], "videoTypeArr": [ ... { "VTID": 2, "label": "短视频考核" } ], "infoArr": [ { "name": "可替换背景音乐.PSD", "layersWidth": 800, "layersHeight": 480, "layers": [ { "name": "图层_1", "width": 4, "height": 3, "x": 287, "y": 156 } ] }, { "name": "1.PSD", "layersWidth": 800, "layersHeight": 450, "layers": [ { "name": "可替换文字2", "width": 115, "height": 45, "x": 610, "y": 258 }, { "name": "可替换文字1", "width": 204, "height": 45, "x": 383, "y": 259 }, { "name": "可替换视频1", "width": 800, "height": 450, "x": 0, "y": 0 } ] }, { "name": "2.PSD", "layersWidth": 800, "layersHeight": 450, "layers": [ { "name": "可替换文字4", "width": 174, "height": 37, "x": 260, "y": 284 }, { "name": "可替换文字3", "width": 95, "height": 37, "x": 153, "y": 284 }, { "name": "可替换视频2", "width": 800, "height": 450, "x": 0, "y": 0 } ] }, { "name": "3.PSD", "layersWidth": 800, "layersHeight": 450, "layers": [ { "name": "可替换文字5", "width": 101, "height": 39, "x": 445, "y": 247 }, { "name": "可替换文字6", "width": 187, "height": 40, "x": 562, "y": 247 }, { "name": "可替换视频3", "width": 800, "height": 450, "x": 0, "y": 0 } ] }, { "name": "4..PSD", "layersWidth": 800, "layersHeight": 450, "layers": [ { "name": "可替换文字8", "width": 195, "height": 41, "x": 173, "y": 106 }, { "name": "可替换文字7", "width": 106, "height": 41, "x": 52, "y": 106 }, { "name": "可替换视频4", "width": 800, "height": 450, "x": 0, "y": 0 } ] }, { "name": "5.PSD", "layersWidth": 800, "layersHeight": 450, "layers": [ { "name": "可替换文字10", "width": 102, "height": 32, "x": 605, "y": 309 }, { "name": "可替换文字9", "width": 151, "height": 32, "x": 442, "y": 309 }, { "name": "可替换视频5", "width": 800, "height": 450, "x": 0, "y": 0 } ] }, { "name": "6.PSD", "layersWidth": 800, "layersHeight": 450, "layers": [ { "name": "可替换文字12", "width": 201, "height": 39, "x": 559, "y": 360 }, { "name": "可替换文字11", "width": 114, "height": 38, "x": 562, "y": 308 }, { "name": "可替换视频6", "width": 800, "height": 450, "x": 0, "y": 0 } ] } ], "template": { "templateDirectoryName": "3C类短视频2", "cover": "1631757595.png", "templateName": "3C类短视频2", "templateDuration": 15, "Title": null, "Studio": null, "peugeotStyle": null, "director": null, "clip": null, "screenwriter": null, "executiveProduction": null, "photographyDirector": null, "artist": null, "fashionDesign": null, "casting": null, "soundtrack": null, "templateSizeID": 5 }, "useTime": 2, "code": 20000 }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML