diff --git a/src/api/componentClassify.ts b/src/api/componentClassify.ts new file mode 100644 index 0000000..f71aee8 --- /dev/null +++ b/src/api/componentClassify.ts @@ -0,0 +1,9 @@ +import axios from 'axios'; + +// 公共路径 +const urlPrefix = '/api/v1/bpms-workbench'; + +// 我的组件 +export function getComponentClassify(classifyType: 'component' | 'language_type') { + return axios.get(`${urlPrefix}/componentClassify/list?classifyType=${classifyType}`); +} \ No newline at end of file diff --git a/src/api/fileSystem.ts b/src/api/fileSystem.ts new file mode 100644 index 0000000..8c56000 --- /dev/null +++ b/src/api/fileSystem.ts @@ -0,0 +1,9 @@ +import axios from 'axios'; + +// 公共路径 +const urlPrefix = '/api/v1/bpms-workbench'; + +// 我的组件 +export function fileUpload(params) { + return axios.post(`${urlPrefix}/fileSystem/fileUpload`, params); +} \ No newline at end of file