This commit is contained in:
YunaiV
2025-05-08 19:32:08 +08:00
21 changed files with 407 additions and 32 deletions

View File

@@ -20,6 +20,6 @@ export const deleteWorkflow = async (id) => {
return await request.delete({ url: '/ai/workflow/delete?id=' + id })
}
export const updateWorkflowModel = async (data) => {
return await request.put({ url: '/ai/workflow/updateWorkflowModel', data })
export const testWorkflow = async (data) => {
return await request.post({ url: '/ai/workflow/test', data })
}

View File

@@ -41,6 +41,11 @@ export const getTenant = (id: number) => {
return request.get({ url: '/system/tenant/get?id=' + id })
}
// 获取租户精简信息列表
export const getTenantList = () => {
return request.get({ url: '/system/tenant/simple-list' })
}
// 新增租户
export const createTenant = (data: TenantVO) => {
return request.post({ url: '/system/tenant/create', data })