锂源

锂源换电


文件上传

简要描述
  • 文件上传
请求URL
  • /gatewaydirect/comms/upload/file
请求方式
  • POST
参数
参数名 必选 类型 说明
file_name string 文件名称
size Long 文件大小 单位字节
type Int 文件类型 </br> 1.固件升级文件 2.图片 3.视频 4.普通文件 5.EXCEL表格 默认普通文件
返回示例
{
    &quot;tip&quot;: &quot;请求成功&quot;,
    &quot;code&quot;: 0,
    &quot;info&quot;: {
        &quot;path&quot;: &quot;/home/liyuan/liyuanfile/file/2021-12-06_d1c0be04-b743-4bab-8473-f5c1158e1f4b.20211124&quot;,
        &quot;http&quot;: &quot;http://test-cloud.granwin.com/html/2021-12-06_d1c0be04-b743-4bab-8473-f5c1158e1f4b.20211124&quot;,
        &quot;https&quot;: &quot;http://test-cloud.granwin.com/files/2021-12-06_d1c0be04-b743-4bab-8473-f5c1158e1f4b.20211124&quot;
    }
}

页面列表

ITEM_HTML