mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-07 01:18:54 +08:00
feat(appointment): 预约商品发布改为可视化配置,并接入表单设计器
商家端补齐预约规则、时段库存与系统表单设计;运营端增加预约工单与订单设置。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
24
manager/src/api/appointment.js
Normal file
24
manager/src/api/appointment.js
Normal file
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* 运营端预约服务 API
|
||||
*/
|
||||
import { getRequest, postRequestWithNoForm, putRequestWithNoForm } from "@/libs/axios";
|
||||
|
||||
export const getManagerWorkOrderPage = (params) =>
|
||||
getRequest("/appointment/work-orders", params);
|
||||
|
||||
export const getManagerRescheduleLogs = (params) =>
|
||||
getRequest("/appointment/reschedule-logs", params);
|
||||
|
||||
export const getAppointmentOrderSettings = () => getRequest("/appointment/settings");
|
||||
|
||||
export const saveAppointmentOrderSettings = (params) =>
|
||||
putRequestWithNoForm("/appointment/settings", params);
|
||||
|
||||
export const platformRefund = (orderSn, params) =>
|
||||
postRequestWithNoForm(`/appointment/orders/${orderSn}/platform-refund`, params);
|
||||
|
||||
export const noShowRefund = (orderSn, params) =>
|
||||
postRequestWithNoForm(`/appointment/orders/${orderSn}/no-show-refund`, params);
|
||||
|
||||
export const getAppointmentOrderDetail = (orderSn) =>
|
||||
getRequest(`/appointment/orders/${orderSn}`);
|
||||
Reference in New Issue
Block a user