39 lines
727 B
JavaScript
39 lines
727 B
JavaScript
import request from "@/utils/request";
|
|
|
|
export function getStorageInfo() {
|
|
return request({
|
|
url: "/backend/tenant/storageInfo",
|
|
method: "get",
|
|
});
|
|
}
|
|
|
|
export function getStoragePackages() {
|
|
return request({
|
|
url: "/backend/tenant/storagePackages",
|
|
method: "get",
|
|
});
|
|
}
|
|
|
|
export function createStorageOrder(data) {
|
|
return request({
|
|
url: "/backend/tenant/storage/order",
|
|
method: "post",
|
|
data,
|
|
});
|
|
}
|
|
|
|
export function getStorageOrders(params = {}) {
|
|
return request({
|
|
url: "/backend/tenant/storage/orders",
|
|
method: "get",
|
|
params,
|
|
});
|
|
}
|
|
|
|
export function getStorageOrder(orderNo) {
|
|
return request({
|
|
url: `/backend/tenant/storage/order/${orderNo}`,
|
|
method: "get",
|
|
});
|
|
}
|