58 lines
1.2 KiB
JavaScript
58 lines
1.2 KiB
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 query(phone){
|
|
return request.get(`shop/refund-fee-record/query?phone=${phone}`, {})
|
|
}
|
|
|
|
/**
|
|
* 查询档位返费信息
|
|
*/
|
|
export function memberQuery(reportId){
|
|
return request.get(`shop/refund-fee-record/query-item?reportId=${reportId}`, {})
|
|
}
|
|
|
|
/**
|
|
* 根据手机号查询档次信息
|
|
*/
|
|
export function memberByHomeGradeInfo(phone){
|
|
return request.get(`api/order/member/memberByHomeGradeInfo?phone=${phone}`, {})
|
|
}
|
|
/**
|
|
* 会员头部信息
|
|
*/
|
|
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);
|
|
}
|