28 lines
553 B
JavaScript
28 lines
553 B
JavaScript
import { http } from '@/utils/http'
|
|
|
|
// 获取项目列表
|
|
export const getProjectListApi = (data) => {
|
|
return http({
|
|
method: 'GET',
|
|
url: '/project/list',
|
|
data,
|
|
})
|
|
}
|
|
|
|
// 获取全量的项目列表
|
|
export const getAllProjectListApi = () => {
|
|
return http({
|
|
method: 'GET',
|
|
url: '/project/listApp',
|
|
})
|
|
}
|
|
|
|
// 根据项目ID获取所有的模型列表
|
|
export const getProjectModelListApi = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: `/model/openAllView`,
|
|
data,
|
|
})
|
|
}
|