1.对接会员列表 2.对接排队叫号

This commit is contained in:
gyq
2025-03-06 19:28:01 +08:00
parent db3fc1f6dc
commit 5cf2355d28
29 changed files with 1920 additions and 1136 deletions

View File

@@ -100,3 +100,135 @@ export function shopStaffInfo() {
url: "/account/admin/shopStaff/info",
});
}
/**
* 获取店铺用户充值记录
*/
export function shopUserChargeFlow(params) {
return request({
method: "get",
url: "/account/admin/shopUser/flow",
params,
});
}
/**
* 获取店铺用户充值记录
*/
export function addShopUser(data) {
return request({
method: "post",
url: "/account/admin/shopUser",
data,
});
}
/**
* 获取叫号队列
*/
export function callTableQueue(params) {
return request({
method: "get",
url: "/account/admin/callTable/queue",
params,
});
}
/**
* 获取叫号配置
*/
export function callTableConfig(params) {
return request({
method: "get",
url: "/account/admin/callTable/config",
params,
});
}
/**
* 修改叫号配置
*/
export function callTableConfigPut(data) {
return request({
method: "put",
url: "/account/admin/callTable/config",
data,
});
}
/**
* 叫号桌型新增
*/
export function addCallTable(data) {
return request({
method: "post",
url: "/account/admin/callTable",
data,
});
}
/**
* 叫号桌型删除
*/
export function delCallTable(data) {
return request({
method: "delete",
url: "/account/admin/callTable",
data,
});
}
/**
* 获取桌型列表
*/
export function getCallTable(params) {
return request({
method: "get",
url: "/account/admin/callTable",
params,
});
}
/**
* 新增叫号号码
*/
export function takeNumber(data) {
return request({
method: "post",
url: "/account/admin/callTable/takeNumber",
data,
});
}
/**
* 获取桌型列表
*/
export function callRecord(params) {
return request({
method: "get",
url: "/account/admin/callTable/callRecord",
params,
});
}
/**
* 执行叫号
*/
export function callTableCall(data) {
return request({
method: "post",
url: "/account/admin/callTable/call",
data,
});
}
/**
* 修改叫号队列状态
*/
export function callTableCallState(data) {
return request({
method: "put",
url: "/account/admin/callTable/updateState",
data,
});
}

View File

@@ -104,3 +104,54 @@ export function getOrderById(params) {
});
}
/**
* 会员充值 - 现金充值
* @param {*} data
* @returns
*/
export function cashPayVip(data) {
return request({
method: "post",
url: "/order/pay/cashPayVip",
data,
});
}
/**
* 会员充值 - 反扫
* @param {*} data
* @returns
*/
export function microPayVip(data) {
return request({
method: "post",
url: "/order/pay/microPayVip",
data,
});
}
/**
* 会员充值 - 会员退款前置接口
* @param {*} data
* @returns
*/
export function refundVipBefore(data) {
return request({
method: "post",
url: "/order/pay/refundVipBefore",
data,
});
}
/**
* 会员充值 - 会员退款
* @param {*} data
* @returns
*/
export function refundVip(data) {
return request({
method: "post",
url: "/order/pay/refundVip",
data,
});
}