充值页面

This commit is contained in:
2025-11-24 17:56:34 +08:00
parent b357225703
commit a63bd684b5
3 changed files with 386 additions and 297 deletions

View File

@@ -215,3 +215,31 @@ export async function verifyIAP(data: any) {
})
return res
}
/**
* 获取充值列表
* @param type 固定值 point
* @param qudao 支付类型
*/
export async function getBookBuyConfigList(type: string, qudao: string) {
const res = await mainClient.request<IApiResponse>({
url: 'common/bookBuyConfig/getBookBuyConfigList',
method: 'POST',
data: {type, qudao}
})
return res
}
/**
* 获取隐私协议
* @param id 101众妙之门隐私政策
*/
export async function getAgreement(id: string) {
console.log(id, 'id');
const res = await mainClient.request<IApiResponse>({
url: '/sys/agreement/getAgreement',
method: 'POST',
data: {id}
})
return res
}