You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
561 B
JavaScript
35 lines
561 B
JavaScript
1 year ago
|
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,
|
||
|
};
|