import { http } from '@/utils/http/axios'; //查询场景标签 export interface CompanyType { tenantId: number; userId: number; createDate: string; modifyDate: string; tenantCode: string; tenantName: string; beginDate: string; endDate: string; tenantStatus:number; isDelete:boolean; } export const getCompanyList = (): Promise => { return http.request({ url: '/relationship/getEnterpriseList', method: 'get', }); }; //查询场景模板 export interface InputType { tenantCode: string; tenantId: number; type: string; } export const changeRelate = (data: InputType) => { return http.request({ url: '/relationship/addEnterpriseRel', method: 'put', data, }); };