mirror of
https://gitee.com/niucloud-team/niucloud.git
synced 2026-04-13 08:20:04 +00:00
30 lines
684 B
TypeScript
30 lines
684 B
TypeScript
import request from '@/utils/request'
|
|
|
|
/***************************************************** 充值订单 ****************************************************/
|
|
|
|
/**
|
|
* 获取充值订单列表
|
|
* @param params
|
|
* @returns
|
|
*/
|
|
export function getRechargeOrderList(params: Record<string, any>) {
|
|
return request.get(`order/recharge`, { params })
|
|
}
|
|
|
|
/**
|
|
* 获取充值订单详情
|
|
* @param order_id
|
|
* @returns
|
|
*/
|
|
export function getRechargeOrderInfo(order_id: number) {
|
|
return request.get(`order/recharge/${order_id}`);
|
|
}
|
|
|
|
/**
|
|
* 获取充值订单状态列表
|
|
* @returns
|
|
*/
|
|
export function getRechargeOrderStatusList() {
|
|
return request.get(`order/recharge/status`)
|
|
}
|