You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
285 B

5 months ago
5 months ago
5 months ago
  1. import httpRequest, { type BaseResponse } from "../httpRequest";
  2. import type { Device } from "../../services/measure/type";
  3. export function getDeviceInfo() {
  4. return httpRequest<BaseResponse<{list:Device[]}>>({
  5. url: "/api/measurement-data/getDevice",
  6. method: "POST",
  7. });
  8. }