cyywl_server/yudao-ui-app/api/member.js

38 lines
713 B
JavaScript

import request from "@/utils/request.js";
/**
* 查询会员档次信息
*/
export function memberGradeInfo(){
return request.get('api/order/member/memberGradeInfo', {})
}
/**
* 获取当前登录账号的充值记录
*/
export function memberOrderInfo(){
return request.get('api/order/member/memberOrderInfo', {})
}
/**
* 会员头部信息
*/
export function memberHeadInfo(){
return request.get('api/order/member/memberHeadInfo', {})
}
/**
* 会员充值
*/
export function memberTopUp(data) {
return request.post('api/order/member/memberTopUp',data);
}
/**
* 申请退款
*/
export function memberApplyRefund(data) {
return request.post('api/order/member/memberApplyRefund',data);
}