Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
xysBooking
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-01-24 14:27:19 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
96bb8d78cd3533c109f11e42a08ce5c413e835b2
96bb8d78
1 parent
c3054cb9
fix 轮询获取订单状态API
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
src/api/index.js
src/api/index.js
View file @
96bb8d7
/*
* @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
));
...
...
Please
register
or
login
to post a comment