import request from '@/utils/request';
// 轨迹记录
export const devicelocationHistory = (params) => {
    return request({
        url: '/api/device/locationHistory',
        method: 'get',
        params: params
    });
};
// 轨迹播放
export const getLocationHistoryDetail = (params) => {
    return request({
        url: '/api/device/getLocationHistoryDetail',
        method: 'get',
        params: params
    });
};

// 导出
export default {
    devicelocationHistory,
    getLocationHistoryDetail
};