src/api/index.ts
@@ -108,6 +108,21 @@ }) } export interface SetCurrentDeviceParams { currentDeviceID: string } /** * 获取当前面板绑定的设备列表 */ export function apiSetCurrentDevice(data: SetCurrentDeviceParams) { return request<BaseResponse<Devices>>({ url: `/v1/device/setCurrentDeviceId`, method: 'post', data }) } export interface CraftModelListParams { procedureId: number page: number