2
0

fix:账单服务界面

This commit is contained in:
zhongzm
2024-12-24 18:36:22 +08:00
parent f3667813ae
commit 87fe7bd5df
6 changed files with 178 additions and 2 deletions

View File

@@ -121,4 +121,18 @@ export function fetchCDRHistory(params: Api.CDR.CDRQueryParams) {
params
});
}
/** Get package list */
export function fetchPackageList() {
return request<Api.Package.PackageListResponse>({
url: '/u/package/list',
method: 'get'
});
}
/** Submit package order */
export function submitPackageOrder(packageId: string) {
return request({
url: '/u/order',
method: 'post',
data: { packageId }
});
}