feat: update page list show
This commit is contained in:
9
frontend/admin/src/api/mediaService.js
Normal file
9
frontend/admin/src/api/mediaService.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import httpClient from './httpClient';
|
||||
|
||||
export const mediaService = {
|
||||
getMedias({ page = 1, limit = 10 } = {}) {
|
||||
return httpClient.get('/admin/medias', {
|
||||
params: { page, limit }
|
||||
});
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user