You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
368 B
TypeScript
13 lines
368 B
TypeScript
|
2 weeks ago
|
import http from '@/api';
|
||
|
|
import {ADMIN_MODULE} from '@/api/helper/prefix';
|
||
|
|
import type {ComputerRoomRow} from "@/api/types/computerRoom/computerRoom";
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 获取机房列表
|
||
|
|
* @param params
|
||
|
|
* @returns {*}
|
||
|
|
*/
|
||
|
|
export const getListApi = (params: { substationId: number }) => {
|
||
|
|
return http.get<ComputerRoomRow[]>(ADMIN_MODULE + `/computerRoom/list`, params);
|
||
|
|
};
|