修改固件升级
<p><strong>简要描述:</strong> </p>
<ul>
<li>修改固件升级</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/dev/firmware/update</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<pre><code>{
"id":1,
"sftpId":1,
"firmwareName":"测试",
"filePath":"/save/firmware/42298dbc873840a1a3243f51581ff5dd.gz",
"protocolVersion":"1.1.1",
"controlVersion":"1.1.1",
"displayVersion":"1.1.1",
"kernelVersion":"1.1.1",
"softwareVersion":"1.1.1"
}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 1041,
"msg": "固件名称已存在",
"data": null
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>