更新uniapp和platform

This commit is contained in:
hero920103 committed 2026-11-16 11:32:16 +08:00
1 parent 31ae07175d
commit 7f9a66da0f
47 files changed
+5207 -1974

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
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",
});
}