import { http } from "@/utils/http";

type Result = {
  code: number;
  msg: string;
  data: boolean;
};

export const postUpdatePassword = (data: any) => {
  return http.request<Result>("post", "/user/updatePassword", { data });
};
