2023-05-17 15:25:16 +08:00
|
|
|
import request from "@/utils/request.js";
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 查询会员档次信息
|
|
|
|
*/
|
|
|
|
export function memberGradeInfo(){
|
2023-05-19 16:09:25 +08:00
|
|
|
return request.get('api/order/member/memberGradeInfo', {})
|
2023-05-17 15:25:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取当前登录账号的充值记录
|
|
|
|
*/
|
2023-05-18 18:03:06 +08:00
|
|
|
export function memberOrderInfo(){
|
2023-05-19 16:09:25 +08:00
|
|
|
return request.get('api/order/member/memberOrderInfo', {})
|
2023-05-17 15:25:16 +08:00
|
|
|
}
|
|
|
|
|
2023-05-22 13:29:42 +08:00
|
|
|
/**
|
|
|
|
* 会员头部信息
|
|
|
|
*/
|
|
|
|
export function memberHeadInfo(){
|
|
|
|
return request.get('api/order/member/memberHeadInfo', {})
|
|
|
|
}
|
|
|
|
|
2023-05-17 15:25:16 +08:00
|
|
|
/**
|
|
|
|
* 会员充值
|
|
|
|
*/
|
|
|
|
export function memberTopUp(data) {
|
2023-05-19 16:09:25 +08:00
|
|
|
return request.post('api/order/member/memberTopUp',data);
|
2023-05-17 15:25:16 +08:00
|
|
|
}
|
2023-05-19 16:09:25 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 申请退款
|
|
|
|
*/
|
|
|
|
export function memberApplyRefund(data) {
|
|
|
|
return request.post('api/order/member/memberApplyRefund',data);
|
2023-05-22 13:29:42 +08:00
|
|
|
}
|