gps.js 349 B

123456789101112131415161718
  1. import request from '@/utils/request'
  2. // 当前定位地点获取
  3. export function location (query) {
  4. return request({
  5. url: '/monit/gps/location',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 获取全部设备定位地点
  11. export function locationBatch () {
  12. return request({
  13. url: '/monit/gps/location/batch',
  14. method: 'get'
  15. })
  16. }