/** * @description 获取某个数据域下面的业务图谱 */ import { getUrl } from 'src/utils/getUrl'; import Request from 'src/utils/requests'; import * as defs from '../../baseClass'; export class Params { /** 数据域的id */ domainId: number; } export const init = new defs.BizGraphBO(); export async function request(params = {}) { return Request({ url: '/api/dip/map/biz/', params, method: 'get', }); } export function createFetchAction(types, stateKey) { return (params = {}, meta?: any) => { return { types, meta, stateKey, method: 'GET', url: getUrl('/api/dip/map/biz/', params, 'GET'), params, init, }; }; }