/** * @description 获取表描述详情信息 */ import { getUrl } from 'src/utils/getUrl'; import Request from 'src/utils/requests'; import * as defs from '../../baseClass'; export class Params { /** 表id */ id: string; /** 查询表类型 */ tableType: number; } export const init = new defs.TableDetailBO(); export async function request(params = {}) { return Request({ url: '/api/dip/detail/getDetail', params, method: 'get', }); } export function createFetchAction(types, stateKey) { return (params = {}, meta?: any) => { return { types, meta, stateKey, method: 'GET', url: getUrl('/api/dip/detail/getDetail', params, 'GET'), params, init, }; }; }