Browse Source

字段字数限制

master
wenlele 2 years ago
parent
commit
20d1e89418
  1. 18
      web/client/src/utils/webapi.js

18
web/client/src/utils/webapi.js

@ -88,14 +88,16 @@ export const ApiTable = {
//数据质量 //数据质量
standardDocFolders: 'standard-doc-folders', standardDocFolders: 'standard-doc-folders',
standardDocs: 'standard-docs', standardDocs: 'standard-docs',
postFolderFile:'postFolderFile', postFolderFile: 'postFolderFile',
businessRules:'business-rules', businessRules: 'business-rules',
delBusinessRules:'business-rules/{id}', delBusinessRules: 'business-rules/{id}',
regularBasis:'regular-basis', regularBasis: 'regular-basis',
//数据安全规范上传 //数据安全规范上传
specifications:'data-security/specifications', specifications: 'data-security/specifications',
delSpecifications:'data-security/specifications/{fileIds}', delSpecifications: 'data-security/specifications/{fileIds}',
packBulk: 'packBulk',
//元数据检索 //元数据检索
searchMetadata: "meta/data/search", searchMetadata: "meta/data/search",
@ -103,12 +105,14 @@ export const ApiTable = {
getBackupsList: 'meta/backups', getBackupsList: 'meta/backups',
addBackups: 'meta/backups', addBackups: 'meta/backups',
modifyBackups: 'meta/backups/{id}', modifyBackups: 'meta/backups/{id}',
restoreBackups:'backups/restore' restoreBackups: 'backups/restore'
}; };
export const RouteTable = { export const RouteTable = {
fileUpload: '/_upload/new', fileUpload: '/_upload/new',
cleanUpUploadTrash: '/_upload/cleanup', cleanUpUploadTrash: '/_upload/cleanup',
packBulk: '/packBulk/{}',
}; };
const resultHandler = (resolve, reject) => (err, res) => { const resultHandler = (resolve, reject) => (err, res) => {

Loading…
Cancel
Save