# fileUpload
**Repository Path**: huchxproject/fileUpload
## Basic Information
- **Project Name**: fileUpload
- **Description**: 文件上传接口
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-13
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
### 文件接口
参数提交方式为form-data
接口路径|参数|说明
---|---|---
`/file/upload/`|name:文件名
base64:base64数据
file:流文件|上传流文件使用file参数,file参数有值时,其他参数无效
上传base64,使用参数name及base64
`/file/getFile`|name: 文件名
type:返回类型|name为上传文件名
type=0时返回流,其他返回base64
测试地址:
`http://47.94.159.215:8181/file/upload`
`http://47.94.159.215:8181/file/getFile?name=[]&type=[]`