import {http2} from "@/utils/request.js";
/**获取用户列表 */
export const ask_update_user_email11 = data => {
  return http2.get(`/acs/v1/user/info/ask_update_user_email?email=${data.email}`);
};
/**email验证码 */
export const ask_update_user_email = data => {
  return http2.post("/acs/v1/user/info/ask_update_user_email", data, {
    headers: {
      "Content-Type": "multipart/form-data"
    }
  });
};
/**email修改 */
export const update_user_email = data => {
  return http2.post("/acs/v1/user/info/update_user_email", data, {
    headers: {
      "Content-Type": "multipart/form-data"
    }
  });
};
/**phone验证码 */
export const ask_update_user_phone = data => {
  return http2.post("/acs/v1/user/info/ask_update_user_phone", data, {
    headers: {
      "Content-Type": "multipart/form-data"
    }
  });
};
/**phone修改 */
export const update_user_phone = data => {
  return http2.post("/acs/v1/user/info/update_user_phone", data, {
    headers: {
      "Content-Type": "multipart/form-data"
    }
  });
};
/**密码修改 */
export const update_user_password = data => {
  return http2.post("/acs/v1/user/info/update_user_password", data, {
    headers: {
      "Content-Type": "multipart/form-data"
    }
  });
};
