fix: 套餐列表支付, 非设备显示phone
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 44s

This commit is contained in:
sexygoat
2026-04-14 11:48:03 +08:00
parent 52b9027b4f
commit f634af1d65
4 changed files with 977 additions and 12 deletions

View File

@@ -23,5 +23,20 @@ export const orderApi = {
method: 'POST',
data: { identifier, package_ids, app_type: APP_TYPE }
});
},
pay(order_id, payment_method, password) {
const data = {
payment_method,
app_type: APP_TYPE
};
if (password) {
data.password = password;
}
return request({
url: `/api/c/v1/orders/${order_id}/pay`,
method: 'POST',
data
});
}
};