wanglizhong
2025-05-03 a296c6bfa83cd0a4bbc92d93c015a010248e8455
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import request from '@/utils/request'
 
// 查询GPS配置列表
export function listGpsConfig(query) {
  return request({
    url: '/system/gpsconfig/list',
    method: 'get',
    params: query
  })
}
 
// 查询GPS配置详细
export function getGpsConfig(configId) {
  return request({
    url: '/system/gpsconfig/' + configId,
    method: 'get'
  })
}
 
// 新增GPS配置
export function addGpsConfig(data) {
  return request({
    url: '/system/gpsconfig',
    method: 'post',
    data: data
  })
}
 
// 修改GPS配置
export function updateGpsConfig(data) {
  return request({
    url: '/system/gpsconfig',
    method: 'put',
    data: data
  })
}
 
// 删除GPS配置
export function delGpsConfig(configId) {
  return request({
    url: '/system/gpsconfig/' + configId,
    method: 'delete'
  })
}
 
// 导出GPS配置
export function exportGpsConfig(query) {
  return request({
    url: '/system/gpsconfig/export',
    method: 'get',
    params: query
  })
}
 
// 获取有效token
export function getValidToken(configKey) {
  return request({
    url: '/system/gpsconfig/token/' + configKey,
    method: 'get'
  })