DYH云

DYH开放接口


获取模板

<h5>简要描述</h5> <ul> <li>获取模板</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://vring.dyhculture.com/forestage/exam/getTemplete</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> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "userid": 1, "pageCounts": 59, "returnPurpose": [ { "PID": 4, "label": "竖屏" }, { "PID": 1, "label": "横屏" }, ... ], "returnSize": [ { "TSID": 4, "label": "测试" }, ... ], "timeArr": [], "templateArr": [ { "TID": 450, "isPost": "1", "templateName": "3C类短视频2", "templatePrice": "25.00", "templateDiscount": null, "replacePictureNum": 0, "templateSizeID": 5, "replaceTextNum": 12, "replaceVidoNum": 6, "coverPath": "/images/templateCover/", "cover": "1631757595.png", "templateDuration": 15, "templateVidioLink": "/template/3C类短视频2/view/3C类短视频2.mp4", "isCollect": false }, ... ], "temLinkDomainUrl": "https://vring.dyhculture.com", "temLinkbaseUrl": "/forestage/exam/getTemplete", "temLinkInfoArr": [], "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> <p>需要显示视频 <a href="https://vring.dyhculture.com/static">https://vring.dyhculture.com/static</a> + templateArr.templateVidioLink 例如 <a href="https://vring.dyhculture.com/static/template/3C类短视频2/view/3C类短视频2.mp4">https://vring.dyhculture.com/static/template/3C类短视频2/view/3C类短视频2.mp4</a></p> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML