Skip to content

文件 Api

getFile

  • 含义:文件下载
  • 请求类型:get
  • 所传参数:
    参数名参数类型备注
    typeString-

💡 想要下载哪种文件,type 就传入什么,目前支持:txt, word, excel, pdf

parseExcel

  • 含义:excel 表格解析
  • 请求类型:post
  • 所传参数:
    参数名参数类型备注
    filefile-

💡 会将表头在 headers 字段集中返回,数据按照 表头:数据,作成 k:v,以数组的形式返回 。

⚠️ 目前对于有合并行、合并列的情况未做处理。

Released under the MIT License.