活跃作者推荐
This commit is contained in:
11
src/api/centre_maps.js
Normal file
11
src/api/centre_maps.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import axiosInstance from './axiosConfig';
|
||||
|
||||
|
||||
export const getMapEditors = async () => {
|
||||
try {
|
||||
const response = await axiosInstance.get('/map/editors');
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user