更新uniapp和platform
This commit is contained in:
1 parent
31ae07175d
commit
7f9a66da0f
47 files changed
+5207
-1974
No files matched your search
@@ -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",
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user