|
@@ -4,7 +4,7 @@ import request from '@/api/request'
|
|
|
* 获取预付款
|
|
|
* @param id 酒吧ID
|
|
|
*/
|
|
|
-export const apiBarList = (id) => request({
|
|
|
+export const apiAdvanceList = (id) => request({
|
|
|
method: 'GET',
|
|
|
url: '/api/v1/user/prepare/order/list',
|
|
|
params: {
|
|
@@ -31,5 +31,5 @@ export const apiCouponList = (id) => request({
|
|
|
export const apiAddOrder = (postData) => request({
|
|
|
method: 'POST',
|
|
|
url: '/api/v1/user/order/add',
|
|
|
- data: postData
|
|
|
+ data: JSON.stringify(postData)
|
|
|
})
|