|
|
@@ -1,10 +1,10 @@
|
|
|
-import { get, post, delete0 } from '@/utils/request'
|
|
|
+import { get, post } from '@/utils/request'
|
|
|
|
|
|
const mapAPI = {
|
|
|
- center: '/api/data/map/center',
|
|
|
- markers: '/api/data/map/markers',
|
|
|
- markerInfoApi: '/api/data/map/marker',
|
|
|
- location: '/api/data/map/location'
|
|
|
+ center: '/apicontentmap/center',
|
|
|
+ markers: '/apicontentmap/markers',
|
|
|
+ markerInfoApi: '/apicontentmap/marker',
|
|
|
+ location: '/apicontentmap/location'
|
|
|
}
|
|
|
|
|
|
export function getMapCenter() {
|
|
|
@@ -16,7 +16,7 @@ export function getMarkerInfo(id) {
|
|
|
}
|
|
|
|
|
|
export function getMapMarkers(type) {
|
|
|
- return get(mapAPI.markers + "?type=" + type)
|
|
|
+ return get(mapAPI.markers + '?type=' + type)
|
|
|
}
|
|
|
|
|
|
export function sendClickedLocation(loc) {
|