uni-Identify-quality/http/mine.js

35 lines
561 B
JavaScript
Raw Normal View History

2023-09-23 06:59:54 +00:00
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,
};