上传文件
POST
http://192.168.0.153:28080/api/client/upload/file
接口描述
前端上传文件接口
请求头
参数名
类型
描述
必填
tokenMobile
String
用户token口令
必填
请求参数
参数名
类型
描述
必填
fileName
String
文件名,包括后缀名
必填
file
file
文件实体,支持图片,pdf,office
必填
fromWeb
boolean
web端上传为true
必填
响应参数
参数名
类型
描述
必填
pdfPath
String
文件相对路径,需要前端拼接服务器地址
必填