This commit is contained in:
@@ -3,10 +3,14 @@ import { APP_TYPE } from '@/utils/env.js';
|
||||
|
||||
export const orderApi = {
|
||||
getList(identifier, page, page_size, payment_status) {
|
||||
const data = { identifier, page, page_size };
|
||||
if (payment_status !== undefined && payment_status !== null) {
|
||||
data.payment_status = payment_status;
|
||||
}
|
||||
return request({
|
||||
url: '/api/c/v1/orders',
|
||||
method: 'GET',
|
||||
data: { identifier, page, page_size, payment_status }
|
||||
data
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user