You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
810 B
31 lines
810 B
'use strict';
|
|
import request from 'superagent';
|
|
|
|
export const ApiTable = {
|
|
login: 'login',
|
|
logout: 'logout',
|
|
validatePhone: 'validate/phone',
|
|
//标签管理
|
|
getTags: 'tags',
|
|
postTagSets: 'tag-sets',
|
|
putTagSets: 'tag-sets/{id}',
|
|
delTagSets: 'tag-sets/{id}',
|
|
postTags: 'tags',
|
|
putTags: 'tags/{id}',
|
|
delTags: 'tags/{id}',
|
|
//元数据管理-模型管理
|
|
getMetaModelList: 'meta/models',
|
|
addMetaModel: 'meta/model',
|
|
modifyMetaModel: 'meta/model/{id}',
|
|
|
|
//元数据采集
|
|
pgCheckConnect: 'adapter/check/connect',
|
|
addDataSource: 'meta/acq/dataSource',
|
|
getAdapters: 'meta/acq/adapters',
|
|
getDataSources: 'meta/acq/dataSources',
|
|
};
|
|
|
|
export const RouteTable = {
|
|
fileUpload: '/_upload/new',
|
|
cleanUpUploadTrash: '/_upload/cleanup',
|
|
};
|
|
|