modelFile.ts 365 B

1234567891011121314
  1. import { defHttp } from '/@/utils/http/axios';
  2. enum Api {
  3. getAllModelFileJson = '/ventanaly-device/safety/modelAlarmInfo/getAllModelFileJson',
  4. }
  5. export const getAllModelFileJsonApi = () => {
  6. return defHttp.get<Record<string, { fileName: string; filePath: string }[]>>(
  7. {
  8. url: Api.getAllModelFileJson,
  9. },
  10. { errorMessageMode: 'none' }
  11. );
  12. };