图纸文件列表
| 接口说明:设计勘测设计图纸的功能 列表页,无层级,直接展示该项目下所有的文件(不包括文件夹)
1) 展示字段:文件名称、版本、更新时间、创建人;
2) 展示顺序:按更新时间,由近及远展示;
|
| —- |
| URL:/module/app/document/getProjectDocumentFileList |
| 参数:
projectSid:xxx
bustype:1 固定值
https://localhost/module/app/document/getProjectDocumentFileList?projectSid=f16ac8d8a42e423fa7a46e86b6084cbd |
| 返回值:
{
- data:[
- {
- code: “20210322165343233”,
- **comment**: null,
- **createTime**: 1616403223000,
- **docType**: "3",
- **documentCategory**: "",
- **fileUrl**: "[https://localhost/xpm/temp/78067e831d0d42ee95945cf518dacef5_enterprice/documentFile/documentFile16164032231061.txt](https://localhost/xpm/temp/78067e831d0d42ee95945cf518dacef5_enterprice/documentFile/documentFile16164032231061.txt)",
- **haveFile**: null,
- **human**: "五星电气管理员",
- **name**: "阿里云 ECS 挂载数据盘.txt",
- **quotedSid**: "2c93833f7859202a01785923d2610005",
- **sid**: "f59e8219faa2425096980a9df8508171",
- **state**: "0",
- **type**: null,
- **updateTime**: 1616403223000
- }
- ],
- errorCode: “”,
errorMsg: “”,
msg: “”,
success: true
} |
图纸文件下载
接口说明:IO流下载 |
---|
URL: http://47.100.22.146:8076/fileUpload/downFileOper?fileId=2c93833f7859202a017859246fe90007&jm_app=app |
参数: |
返回值: |
根据附件ID获取附件的信息
接口说明:根据id获取附件信息 |
---|
URL:/app/common/getAttrchFileInfo |
参数: fileSid:xxx https://192.168.0.41/app/common/getAttrchFileInfo?fileSid=4028800278483de301784874966e0029 |
返回值: { - data:{ - attachName: “43徐可心合同台账问题修复_20210304.sql”, |
attachNameUrl: “https://192.168.0.41/xpm/temp/78067e831d0d42ee95945cf518dacef5_enterprice/documentFile/documentFile16161233034220.sql“,
attachSid: “4028800278483de301784874966e0029”,
attachSuffix: “sql”,
filesize: “966”
},
- errorCode: “”,errorMsg: “”,
msg: “”,
success: true
} |