/*
|
* @Author : yuan
|
* @Date : 2025-06-05 09:49:42
|
* @LastEditors : yuan
|
* @LastEditTime : 2025-06-07 18:16:57
|
* @FilePath : \src\api\panorama\index.js
|
* @Description :
|
* Copyright 2025 OBKoro1, All Rights Reserved.
|
* 2025-06-05 09:49:42
|
*/
|
import request from '@/axios'
|
|
import { convertKeysToCamelCase } from '@/utils/apiUtils'
|
|
// 图斑聚合
|
export const getPanoramaList = data => {
|
return request({
|
url: `/blade-resource/attach/mapAttachs`,
|
method: 'post',
|
data: convertKeysToCamelCase(data),
|
})
|
}
|
|
// 图斑聚合
|
export const getMapSpotAggregation = params => {
|
return request({
|
url: `/drone-device-core/patches/api/v1/Patches/getLotRegionCount`,
|
method: 'get',
|
params,
|
})
|
}
|
|
export const getPanoramaDetails = id => {
|
return request({
|
url: `/blade-resource/attach/detail?id=${id}`,
|
method: 'get',
|
})
|
}
|