hookehuyr

fix 轮询获取订单状态API

/*
* @Date: 2023-08-24 09:42:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-01-19 18:20:39
* @LastEditTime: 2024-01-24 14:13:35
* @FilePath: /xysBooking/src/api/index.js
* @Description: 文件描述
*/
......@@ -22,6 +22,7 @@ const Api = {
BILL_LIST: '/srv/?a=api&t=bill_list',
CANCEL_PREPARE: '/srv/?a=api&t=cancel_prepare',
BILL_PREPARE: '/srv/?a=api&t=bill_person',
BILL_PAY_STATUS: '/srv/?a=api&t=bill_pay_status',
};
/**
......@@ -128,3 +129,10 @@ export const cancelPrepareAPI = (params) => fn(fetch.post(Api.CANCEL_PREPARE, pa
* @returns {String}
*/
export const billPersonAPI = (params) => fn(fetch.get(Api.BILL_PREPARE, params));
/**
* @description: 刷新预约单支付状态
* @param {String}
* @returns {String}
*/
export const billPayStatusAPI = (params) => fn(fetch.get(Api.BILL_PAY_STATUS, params));
......