import http from "./interface";

const infoOrders = () => {
  return http.request({
    url: "/api/warehouse/static/info",
    method: "POST",
  });
};
const info = () => {
  return http.request({
    url: "/api/wxuser/info",
    method: "POST",
  });
};
// 更新信息
const update = (data) => {
  return http.request({
    url: "/api/wxuser/update",
    method: "POST",
    data,
  });
};
const logout = () => {
  return http.request({
    url: "/api/wxuser/remove",
    method: "POST",
  });
};
export default {
  infoOrders,
  info,
  update,
  logout,
};