2
0

fix:套餐界面修改参数

This commit is contained in:
zhongzm
2024-12-24 19:11:44 +08:00
parent 70979b17e1
commit b214cc0552
4 changed files with 39 additions and 5 deletions

View File

@@ -128,11 +128,12 @@ export function fetchPackageList() {
method: 'get'
});
}
/** Submit package order */
export function submitPackageOrder(packageId: string) {
/** Submit order with different types */
export function submitOrder(data: Api.Order.SubmitOrderParams) {
return request({
url: '/u/order',
method: 'post',
data: { packageId }
data
});
}