- /**
- * 文件管理相关接口
- * @exports {Object}
- */
- let host = '/api/newfiber-datasource-dataModel';
- // let host = '/dataSource-dataModel/newfiber-datasource-dataModel';
-
- let api = {
- "dataModelCreateFileFolder": "/dataModel/createFileFolder", //创建文件夹
- "dataModelUploadFile": "/dataModel/uploadFile", //上传文件
- "dataModelQueryRootDirectoryFile": "/dataModel/queryRootDirectoryFile", //初始化查询
- "dataModelQueryFileById": "/dataModel/queryFileById", //双击文件夹进入查询子文件夹
- "dataModelQueryFileByFileNameWithDir": "/dataModel/queryFileByFileNameWithDir", //根据文件夹名查询文件
- "dataModelQueryFileByFileName": "/dataModel/queryFileByFileName", //根据文件夹名或文件进行查询文件
- "dataModelQueryFileByFileNameWithFile": "/dataModel/queryFileByFileNameWithFile", //根据文件名称检索文件
- "dataModelDeleteByFileId": "/dataModel/deleteByFileId", //文件id删除文件
- "dataModelGetFileByFileId": "/dataModel/getFileByFileId", //获取文件接口
- "dataModelQueryRelationFile": "/dataModel/queryRelationFile", //文件夹路径
- "dataModelQueryWithFileName": "/dataModel/queryWithFileName", //文件或文件路径动态选取
- };
-
- for (let item in api) {
- api[item] = host + api[item];
- }
- export default api;