接口修改
parent
1c3d711298
commit
e1d7b1801d
|
@ -35,12 +35,12 @@ export const insertOrUpdateSpec = params => {
|
||||||
|
|
||||||
// 获取会员列表
|
// 获取会员列表
|
||||||
export const getMemberListData = params => {
|
export const getMemberListData = params => {
|
||||||
return getRequest("/member", params);
|
return getRequest("/passport/member", params);
|
||||||
};
|
};
|
||||||
|
|
||||||
// 获取会员详情
|
// 获取会员详情
|
||||||
export const getMemberInfoData = (id) => {
|
export const getMemberInfoData = (id) => {
|
||||||
return getRequest(`/member/${id}`);
|
return getRequest(`/passport/member/${id}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
// 修改会员基本信息
|
// 修改会员基本信息
|
||||||
|
@ -50,22 +50,22 @@ export const updateMember = (params) => {
|
||||||
|
|
||||||
// 添加会员基本信息
|
// 添加会员基本信息
|
||||||
export const addMember = params => {
|
export const addMember = params => {
|
||||||
return postRequest(`/member`, params);
|
return postRequest(`/passport/member`, params);
|
||||||
};
|
};
|
||||||
|
|
||||||
// 获取会员列表
|
// 获取会员列表
|
||||||
export const getMemberAll = () => {
|
export const getMemberAll = () => {
|
||||||
return getRequest("/member/getAll");
|
return getRequest("/passport/member/getAll");
|
||||||
};
|
};
|
||||||
|
|
||||||
// 增加或修改会员列表
|
// 增加或修改会员列表
|
||||||
export const operationMemberListData = params => {
|
export const operationMemberListData = params => {
|
||||||
return postRequest("/member/insertOrUpdate", params);
|
return postRequest("/passport/member/insertOrUpdate", params);
|
||||||
};
|
};
|
||||||
|
|
||||||
// 增加或修改会员列表
|
// 增加或修改会员列表
|
||||||
export const deleteMemberListData = ids => {
|
export const deleteMemberListData = ids => {
|
||||||
return deleteRequest(`/member/delByIds/${ids}`);
|
return deleteRequest(`/passport/member/delByIds/${ids}`);
|
||||||
};
|
};
|
||||||
// 获取充值记录列表数据
|
// 获取充值记录列表数据
|
||||||
export const getUserRecharge = params => {
|
export const getUserRecharge = params => {
|
||||||
|
@ -89,7 +89,7 @@ export const withdrawApply = params => {
|
||||||
|
|
||||||
//会员状态修改
|
//会员状态修改
|
||||||
export const updateMemberStatus = params => {
|
export const updateMemberStatus = params => {
|
||||||
return putRequest("/member/updateMemberStatus", params);
|
return putRequest("/passport/member/updateMemberStatus", params);
|
||||||
};
|
};
|
||||||
|
|
||||||
// 获取会员注册统计列表
|
// 获取会员注册统计列表
|
||||||
|
@ -110,7 +110,7 @@ export const historyMemberChartList = () => {
|
||||||
|
|
||||||
//查询会员数量
|
//查询会员数量
|
||||||
export const getMemberNum = params => {
|
export const getMemberNum = params => {
|
||||||
return getRequest("/member/num", params);
|
return getRequest("/passport/member/num", params);
|
||||||
};
|
};
|
||||||
//查询会员历史积分
|
//查询会员历史积分
|
||||||
export const getHistoryPointData = (params) => {
|
export const getHistoryPointData = (params) => {
|
||||||
|
|
Loading…
Reference in New Issue