fix: issues
This commit is contained in:
@@ -2,7 +2,7 @@ import httpClient from './httpClient';
|
||||
|
||||
export const orderService = {
|
||||
get({ page = 1, limit = 10, keyword = '' } = {}) {
|
||||
return httpClient.get('/admin/orders', {
|
||||
return httpClient.get('/orders', {
|
||||
params: {
|
||||
page,
|
||||
limit,
|
||||
@@ -11,6 +11,6 @@ export const orderService = {
|
||||
});
|
||||
},
|
||||
refund(id) {
|
||||
return httpClient.post(`/admin/orders/${id}/refund`);
|
||||
return httpClient.post(`/orders/${id}/refund`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user