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 signOff = () => { return http.request({ url: "/api/wxuser/remove", method: "POST", }); }; // 退出登录 const logout = () => { return http.request({ url: "/api/v3/logout", method: "POST", }); } export default { infoOrders, info, update, signOff, logout };