Showing
1 changed file
with
9 additions
and
1 deletions
| 1 | /* | 1 | /* |
| 2 | * @Date: 2023-12-22 10:29:37 | 2 | * @Date: 2023-12-22 10:29:37 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-01-17 15:56:50 | 4 | + * @LastEditTime: 2024-05-21 20:51:57 |
| 5 | * @FilePath: /meihuaApp/src/api/index.js | 5 | * @FilePath: /meihuaApp/src/api/index.js |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | */ | 7 | */ |
| ... | @@ -21,6 +21,7 @@ const Api = { | ... | @@ -21,6 +21,7 @@ const Api = { |
| 21 | PAY: '/srv/?a=pay', | 21 | PAY: '/srv/?a=pay', |
| 22 | PAY_CHECK: '/srv/?a=pay_check', | 22 | PAY_CHECK: '/srv/?a=pay_check', |
| 23 | ORDER_SUCCESS: '/srv/?a=room_data&t=order_success', | 23 | ORDER_SUCCESS: '/srv/?a=room_data&t=order_success', |
| 24 | + TMP_SYS_PARAM: '/srv/?a=get_item&item_title=参数名称', | ||
| 24 | } | 25 | } |
| 25 | 26 | ||
| 26 | /** | 27 | /** |
| ... | @@ -126,3 +127,10 @@ export const orderCancelAPI = (params) => fn(fetch.post(Api.ORDER_CANCEL, params | ... | @@ -126,3 +127,10 @@ export const orderCancelAPI = (params) => fn(fetch.post(Api.ORDER_CANCEL, params |
| 126 | * @returns | 127 | * @returns |
| 127 | */ | 128 | */ |
| 128 | export const orderSuccessAPI = (params) => fn(fetch.post(Api.ORDER_SUCCESS, params)); | 129 | export const orderSuccessAPI = (params) => fn(fetch.post(Api.ORDER_SUCCESS, params)); |
| 130 | + | ||
| 131 | +/** | ||
| 132 | + * @description: | ||
| 133 | + * @param id | ||
| 134 | + * @returns | ||
| 135 | + */ | ||
| 136 | +export const tmpSysParamAPI = (params) => fn(fetch.get(Api.TMP_SYS_PARAM, params)); | ... | ... |
-
Please register or login to post a comment