接口修改

master
fengtianyangyang 2022-01-21 09:14:21 +08:00
parent 1c3d711298
commit e1d7b1801d
1 changed files with 8 additions and 8 deletions

View File

@ -35,12 +35,12 @@ export const insertOrUpdateSpec = params => {
// 获取会员列表
export const getMemberListData = params => {
return getRequest("/member", params);
return getRequest("/passport/member", params);
};
// 获取会员详情
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 => {
return postRequest(`/member`, params);
return postRequest(`/passport/member`, params);
};
// 获取会员列表
export const getMemberAll = () => {
return getRequest("/member/getAll");
return getRequest("/passport/member/getAll");
};
// 增加或修改会员列表
export const operationMemberListData = params => {
return postRequest("/member/insertOrUpdate", params);
return postRequest("/passport/member/insertOrUpdate", params);
};
// 增加或修改会员列表
export const deleteMemberListData = ids => {
return deleteRequest(`/member/delByIds/${ids}`);
return deleteRequest(`/passport/member/delByIds/${ids}`);
};
// 获取充值记录列表数据
export const getUserRecharge = params => {
@ -89,7 +89,7 @@ export const withdrawApply = 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 => {
return getRequest("/member/num", params);
return getRequest("/passport/member/num", params);
};
//查询会员历史积分
export const getHistoryPointData = (params) => {