|
@@ -2,13 +2,15 @@ import axios from 'axios' |
|
@@ -2,13 +2,15 @@ import axios from 'axios' |
2
|
import http from "../http";
|
2
|
import http from "../http";
|
3
|
|
3
|
|
4
|
let baseServiceURL = 'wms-server-warehouse'
|
4
|
let baseServiceURL = 'wms-server-warehouse'
|
|
|
5
|
+const serviceName = '/cloud-user-center'
|
5
|
|
6
|
|
6
|
|
7
|
|
7
|
//车辆定位
|
8
|
//车辆定位
|
8
|
export const selectVehicle = params => { return axios.get(`${baseServiceURL}/map/location/lastlocation`, { params: params }); };
|
9
|
export const selectVehicle = params => { return axios.get(`${baseServiceURL}/map/location/lastlocation`, { params: params }); };
|
9
|
//出任务
|
10
|
//出任务
|
10
|
export const insertSelective = params => { return http.post(`${baseServiceURL}/map/location/insertSelective`, params); };
|
11
|
export const insertSelective = params => { return http.post(`${baseServiceURL}/map/location/insertSelective`, params); };
|
11
|
-
|
12
|
+//获取用户列表
|
|
|
13
|
+export const getUserList = params => { return http.post(`${serviceName}/crm/list`, params) };
|
12
|
|
14
|
|
13
|
//车辆轨迹
|
15
|
//车辆轨迹
|
14
|
export const historyTrack = params => { return axios.get(`${baseServiceURL}/map/location/historyTrack`, { params: params }); };
|
16
|
export const historyTrack = params => { return axios.get(`${baseServiceURL}/map/location/historyTrack`, { params: params }); };
|