songshankun
2023-11-03 35b1ce8f65b78fcdfdd56481b29ed8d74a8a6621
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