deleteDownloadFile ^8.11
删除文件下载相关信息。会删除已下载的文件和断点续传的信息。再次下载时会重新开始下载
#请求参数
| Prop | Type | Required | Default | Comment | 
| downloadFolder | String | N | downFiles | 自定义下载目录,默认目录为 WeexApp/downFiles. downloadPath 为相对路径时,如为某个 sn8 对应的目录是 WeexApp/sn8. 支持绝对路径 | 
| urls | Array | Y | N/A | 需要下载的文件的 url 数组,支持分片下载。如果数组长度大于 1,则下载完成后会合并为一个文件 | 
| fileSuffix | String | N | N/A | 保存的文件后缀. 如果 urls 的长度大于 1 则是必要的,否则非必要 | 
#引入接口模块
import bridge from '@minix-iot/etsbridge-sdk'
#接口调用示例
const params = {
  downloadFolder: 'downFiles',
  urls: [
    'http://dolphin-weex-dev.msmartlife.cn/hybrid/docs/assets/img/1.1f83f6a2.png',
  ],
  fileSuffix: 'png',
}
bridge
  .deleteDownloadFile(params)
  .then((res) => {
    console.log('deleteDownloadFile-res', res)
  })
  .catch((err) => {
    console.log('deleteDownloadFile-err', err)
  })
#返回参数
| Prop | Type | Required | Comment | 
| code | Number | Y | 返回码 0-删除下载任务成功,其它:-1001-(缺少参数 fileSuffix,缺少参数 urls, 参数 urls 不能为空),-3006-文件删除失败, -4009-存储未授权 | 
| msg | String | N | 返回信息 | 
#返回示例
// 成功返回
{
  code: 0,
  msg: '删除下载任务成功'
}
// 失败返回
{
  code: -1001,
  msg: "缺少参数fileSuffix"
}