import { get } from '@/utils/http'

export function getAppListByWorkspaceId(workspaceId) {
  return get(`DxWorkspace/getAppListByWorkspaceId?workspaceId=${workspaceId}`)
}

export function countOfType(params) {
  return get(`/workflow/task/countOfType`, params)
}
// 跟据appId集合查询app
export function findAppByIds(params) {
  return get(`/DxApplication/byIds?ids=${params}`)
}